Skip to content

Commit

Permalink
test: Fail fast when running locally
Browse files Browse the repository at this point in the history
  • Loading branch information
franky47 committed Dec 17, 2024
1 parent bf4da4e commit ddd9784
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/e2e/shared/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ export function defineConfig(config: Config) {
video: false,
fixturesFolder: false,
testIsolation: true,
defaultCommandTimeout: 500,
defaultCommandTimeout: process.env.CI ? 1000 : 200,
setupNodeEvents(on) {
cypressTerminalReport(on)
},
retries: {
openMode: 0,
runMode: 1
runMode: process.env.CI ? 1 : 0
},
...config
}
Expand Down
1 change: 1 addition & 0 deletions packages/e2e/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"devDependencies": {
"@types/react": "catalog:react19",
"@types/react-dom": "catalog:react19",
"@types/node": "^22.9.0",
"cypress": "catalog:e2e",
"nuqs": "workspace:*",
"react": "catalog:react19",
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e/shared/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
// Misc
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"types": ["cypress"]
"types": ["node", "cypress"]
},
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ddd9784

Please sign in to comment.