mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-14 09:52:12 +00:00
Revert "use cypress-app-watcher-preprocessor"
This reverts commit ae4c975a31.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { defineConfig } from "cypress";
|
||||
const watchApp = require("cypress-app-watcher-preprocessor");
|
||||
|
||||
export default defineConfig({
|
||||
reporter: "list",
|
||||
@@ -7,7 +6,7 @@ export default defineConfig({
|
||||
baseUrl: "http://localhost:3000",
|
||||
specPattern: "cypress/integration/**/*.cy.{js,jsx,ts,tsx}",
|
||||
setupNodeEvents(on, config) {
|
||||
on("file:preprocessor", watchApp());
|
||||
// implement node event listeners here
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
@@ -1,16 +1,9 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"noEmit": true,
|
||||
// be explicit about types included
|
||||
// to avoid clashing with Jest types
|
||||
"types": [
|
||||
"cypress",
|
||||
"node"
|
||||
]
|
||||
"target": "es5",
|
||||
"lib": ["es5", "dom"],
|
||||
"types": ["cypress", "node"]
|
||||
},
|
||||
"include": [
|
||||
"../node_modules/cypress",
|
||||
"./**/*.ts"
|
||||
]
|
||||
}
|
||||
"include": ["**/*.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user