Skip to content

Commit

Permalink
refacto: e2e tests organization
Browse files Browse the repository at this point in the history
  • Loading branch information
rmonnier9 committed Dec 31, 2024
1 parent 18f919f commit 00b20db
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions cypress/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"noEmit": true,
// be explicit about types included
// to avoid clashing with Jest types
"types": ["cypress"]
},
"include": ["../node_modules/cypress", "./**/*.ts"]
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
}
]
},
"exclude": ["node_modules", "cypress", "cypress.config.ts", "stories"],
"exclude": ["node_modules", "stories"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"]
}

0 comments on commit 00b20db

Please sign in to comment.