mirror of
https://github.com/modelec/modelec.club.git
synced 2026-01-18 16:37:30 +01:00
C pu pété V2
This commit is contained in:
@@ -2,7 +2,7 @@ import { defineConfig } from "cypress";
|
||||
|
||||
export default defineConfig({
|
||||
e2e: {
|
||||
specPattern: "cypress/e2e/**/*.cy.{js,jsx,ts,tsx}",
|
||||
specPattern: "cypress/tests/**/*.cy.{js,jsx,ts,tsx}",
|
||||
supportFile: false,
|
||||
},
|
||||
|
||||
@@ -12,4 +12,4 @@ export default defineConfig({
|
||||
bundler: "vite",
|
||||
},
|
||||
},
|
||||
});
|
||||
});
|
||||
16
cypress/support/index.ts
Normal file
16
cypress/support/index.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
// Import commands.js using ES2015 syntax:
|
||||
import './commands';
|
||||
|
||||
// Alternatively you can use CommonJS syntax:
|
||||
// require('./commands');
|
||||
|
||||
// This is a great place to put global configuration and behavior that modifies Cypress
|
||||
|
||||
// Cypress automatically includes support files before every test file
|
||||
// You can use this file to set up global configurations and behaviors
|
||||
|
||||
// Example: Setting a base URL
|
||||
Cypress.config('baseUrl', 'http://localhost:3000');
|
||||
|
||||
// Example: Setting default timeout
|
||||
Cypress.config('defaultCommandTimeout', 10000);
|
||||
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"lib": ["ES2023"],
|
||||
"module": "ESNext",
|
||||
"skipLibCheck": true,
|
||||
"moduleResolution": "node",
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"esModuleInterop": true,
|
||||
"isolatedModules": true,
|
||||
"noEmit": true,
|
||||
"strict": true
|
||||
},
|
||||
"include": ["**/*.cy.ts", "**/*.cy.tsx"]
|
||||
}
|
||||
@@ -18,6 +18,5 @@
|
||||
"noUnusedParameters": true,
|
||||
"noFallthroughCasesInSwitch": true
|
||||
},
|
||||
"include": ["vite.config.ts"],
|
||||
"exclude": ["cypress/tests/**/*"]
|
||||
"include": ["vite.config.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user