Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Add create-project test coverage of development configs #886

Closed
edmorley opened this issue May 19, 2018 · 0 comments
Closed

Add create-project test coverage of development configs #886

edmorley opened this issue May 19, 2018 · 0 comments
Assignees
Milestone

Comments

@edmorley
Copy link
Member

As found in #852, create-project currently doesn't have any test coverage of the development (ie yarn start) configs. Whilst they are unit-tested in the individual presets, this can still miss issues:
#852 (comment)

Testing the dev server means dealing with running the server, then killing it after N seconds, and detecting the difference between startup errors and the process being killed by the test runner.

A simpler alternative that might help in the meantime, would be to test a webpack build using --mode development, to give at least some of the coverage.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants