Skip to content

Add tests #623

@SpaceK33z

Description

@SpaceK33z

At the moment there are only examples to test if everything still works.

We should start with some tests. I suggest to start testing the server-part. There's a lot more to test (the CLI and client scripts), but this is a good start I think:

  • proxy option;
    • with object
    • with array
    • with function
    • bypass feature
  • WebSocket connection no longer relevant for v3
  • setup before option
  • https option
  • use option doesn't look like an option anymore
  • invalidate method
  • historyApiFallback option;
    • with a boolean
    • with object
  • /__webpack_dev_server__/ bundle files
  • /webpack-dev-server directory index
  • "magic html"
  • compress option
  • contentBase option
    • with a number
    • with array
    • with default setting
  • headers option

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions