Skip to content

Commit

Permalink
add vite-react to e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Apr 5, 2022
1 parent 783e5aa commit 43be92e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ jobs:
name: Run E2E (core) tests
# Do not test CRA here because it's done in PnP part
# TODO: Remove `web_components_typescript` as soon as Lit 2 stable is released
command: yarn test:e2e-framework vue3 angular130 angular13 angular12 angular11 web_components_typescript web_components_lit2 react
command: yarn test:e2e-framework vue3 angular130 angular13 angular12 angular11 web_components_typescript web_components_lit2 react vite_react
no_output_timeout: 5m
- store_artifacts:
path: /tmp/cypress-record
Expand Down
7 changes: 7 additions & 0 deletions lib/cli/src/repro-generators/configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ export const webpack_react: Parameters = {
generator: fromDeps('react', 'react-dom', 'webpack@webpack-4'),
};

export const vite_react: Parameters = {
framework: 'react',
name: 'vite_react',
version: 'latest',
generator: 'npx -p create-vite@{{version}} create-vite {{appName}} --template react-ts',
};

export const react_in_yarn_workspace: Parameters = {
framework: 'react',
name: 'react_in_yarn_workspace',
Expand Down

0 comments on commit 43be92e

Please sign in to comment.