Skip to content

Use a more sophisticated template for end-to-end testing of Create React App #706

Closed
@gaearon

Description

@gaearon

We currently test the same template we generate by default, which is probably file, but we miss out on testing more advanced features. Ideally we should have a kitchensink template that uses all possible features (JSX, Flow, NODE_PATH, generators, async/await, class properties etc), and make sure that that template builds and passes tests.

If you’d like to work on it, please write in this issue so others don’t duplicate effort. The task would consist of:

  1. Looking at tasks/e2e.sh and learning how we test CRA
  2. Figuring out how to make it use a different template just for e2e test—not sure how I’d do that so suggestions welcome
  3. Creating that kitchensink template

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions