diff --git a/tests/cypress/plugins/index.js b/tests/cypress/plugins/index.js index 94620a2c..6aca8d7d 100644 --- a/tests/cypress/plugins/index.js +++ b/tests/cypress/plugins/index.js @@ -11,6 +11,8 @@ // This function is called when a project is opened or re-opened (e.g. due to // the project's config changing) +/// + // eslint-disable-next-line module.exports = (on, config) => { // `on` is used to hook into various events Cypress emits diff --git a/tests/cypress/tsconfig.json b/tests/cypress/tsconfig.json index dcb69cf8..974e84cd 100644 --- a/tests/cypress/tsconfig.json +++ b/tests/cypress/tsconfig.json @@ -2,10 +2,12 @@ "extends": "../../tsconfig.json", "compilerOptions": { "noEmit": false, - "sourceMap": false + "sourceMap": false, + "types": [ + "cypress", + ], }, "include": [ - "../node_modules/cypress", "./*/*.ts" ] }