diff --git a/cypress/jsconfig.json b/cypress/jsconfig.json new file mode 100644 index 000000000..5e8cd1f1d --- /dev/null +++ b/cypress/jsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../jsconfig.json", + "compilerOptions": { + // be explicit about types included + // to avoid clashing with Jest types + "types": ["cypress"] + }, + "include": ["../node_modules/cypress", "./**/*.js"] +} diff --git a/jsconfig.json b/jsconfig.json index 8a8f1d58f..443548fd5 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -2,5 +2,5 @@ "compilerOptions": { "baseUrl": "./src" }, - "include": ["src", "node_modules/cypress", "./cypress/**/*.js"] + "include": ["src"] }