Revert "use cypress-app-watcher-preprocessor"

This reverts commit ae4c975a31.
This commit is contained in:
Elio Bischof
2023-06-20 14:02:05 +02:00
parent ae4c975a31
commit 9db36183be
6 changed files with 51 additions and 2828 deletions

View File

@@ -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
},
},
});

View File

@@ -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"]
}