diff --git a/system-tests/.eslintignore b/system-tests/.eslintignore index 9866b1309e66..cdc1d599f849 100644 --- a/system-tests/.eslintignore +++ b/system-tests/.eslintignore @@ -1,10 +1,10 @@ +# purposeful syntax errors system-tests/projects/config-with-ts-module-error/cypress.config.ts system-tests/projects/config-with-ts-syntax-error/cypress.config.ts system-tests/projects/e2e/cypress/e2e/stdout_exit_early_failing.cy.js system-tests/projects/e2e/cypress/e2e/typescript_syntax_error.cy.ts system-tests/projects/e2e/lib/fail.js system-tests/projects/e2e/static/fail.js -system-tests/projects/e2e/static/jquery.js system-tests/projects/ids/cypress/e2e/dom.jsx system-tests/projects/no-specs/src/Invalid.jsx system-tests/projects/todos/tests/_fixtures/bad_js.js @@ -14,3 +14,14 @@ system-tests/projects/todos/tests/_fixtures/nested/fixture.js system-tests/projects/todos/tests/_fixtures/no_format.js system-tests/projects/todos/tests/_fixtures/trailing_new_line.js system-tests/projects/todos/tests/_fixtures/user.js +system-tests/project-fixtures/react/src/AppCompilationError.cy.jsx + +# 3rd party +system-tests/projects/e2e/static/jquery.js + +# snapshots +system-tests/projects/pristine/expected-cypress-js-component-create-react-app-v5/cypress.config.js +system-tests/projects/pristine/expected-cypress-js-e2e/cypress.config.js +system-tests/projects/pristine/expected-cypress-js-e2e-without-fixtures/cypress.config.js +system-tests/projects/pristine-module/expected-cypress-js-e2e/cypress.config.js +system-tests/projects/pristine-cjs-project/expected-cypress-js-component-vue.js-3-webpack/cypress.config.js diff --git a/system-tests/.eslintrc.json b/system-tests/.eslintrc.json index 0981f593c438..42c1beed2704 100644 --- a/system-tests/.eslintrc.json +++ b/system-tests/.eslintrc.json @@ -13,8 +13,5 @@ ], "rules": { "no-console": "off" - }, - "ignorePatterns": [ - "project-fixtures/react/src/AppCompilationError.cy.jsx" - ] + } } diff --git a/system-tests/projects/pristine-cjs-project/expected-cypress-js-component-vue.js-3-webpack/cypress.config.js b/system-tests/projects/pristine-cjs-project/expected-cypress-js-component-vue.js-3-webpack/cypress.config.js index d18566f616e8..8b6e09f0d0d5 100644 --- a/system-tests/projects/pristine-cjs-project/expected-cypress-js-component-vue.js-3-webpack/cypress.config.js +++ b/system-tests/projects/pristine-cjs-project/expected-cypress-js-component-vue.js-3-webpack/cypress.config.js @@ -1,13 +1,13 @@ -const { defineConfig } = require('cypress') +const { defineConfig } = require("cypress"); -const webpackConfig = require('./webpack.config.js') +const webpackConfig = require("./webpack.config.js"); module.exports = defineConfig({ component: { devServer: { - framework: 'vue', - bundler: 'webpack', + framework: "vue", + bundler: "webpack", webpackConfig, }, }, -}) +}); diff --git a/system-tests/projects/pristine-module/expected-cypress-js-e2e/cypress.config.js b/system-tests/projects/pristine-module/expected-cypress-js-e2e/cypress.config.js index ebeb12b8b021..9a7b7ab80e47 100644 --- a/system-tests/projects/pristine-module/expected-cypress-js-e2e/cypress.config.js +++ b/system-tests/projects/pristine-module/expected-cypress-js-e2e/cypress.config.js @@ -1,9 +1,9 @@ -import { defineConfig } from 'cypress' +import { defineConfig } from "cypress"; export default defineConfig({ e2e: { - setupNodeEvents (on, config) { + setupNodeEvents(on, config) { // implement node event listeners here }, }, -}) +}); \ No newline at end of file diff --git a/system-tests/projects/pristine/expected-cypress-js-component-create-react-app-v5/cypress.config.js b/system-tests/projects/pristine/expected-cypress-js-component-create-react-app-v5/cypress.config.js index 5dc0e388d761..c26432be0fe1 100644 --- a/system-tests/projects/pristine/expected-cypress-js-component-create-react-app-v5/cypress.config.js +++ b/system-tests/projects/pristine/expected-cypress-js-component-create-react-app-v5/cypress.config.js @@ -1,10 +1,10 @@ -const { defineConfig } = require('cypress') +const { defineConfig } = require("cypress"); module.exports = defineConfig({ component: { devServer: { - framework: 'create-react-app', - bundler: 'webpack', + framework: "create-react-app", + bundler: "webpack", }, }, -}) +}); \ No newline at end of file diff --git a/system-tests/projects/pristine/expected-cypress-js-e2e-without-fixtures/cypress.config.js b/system-tests/projects/pristine/expected-cypress-js-e2e-without-fixtures/cypress.config.js index f7144f6d2772..08474f8714b8 100644 --- a/system-tests/projects/pristine/expected-cypress-js-e2e-without-fixtures/cypress.config.js +++ b/system-tests/projects/pristine/expected-cypress-js-e2e-without-fixtures/cypress.config.js @@ -1,9 +1,9 @@ -const { defineConfig } = require('cypress') +const { defineConfig } = require("cypress"); module.exports = defineConfig({ e2e: { - setupNodeEvents (on, config) { + setupNodeEvents(on, config) { // implement node event listeners here }, }, -}) +}); \ No newline at end of file diff --git a/system-tests/projects/pristine/expected-cypress-js-e2e/cypress.config.js b/system-tests/projects/pristine/expected-cypress-js-e2e/cypress.config.js index f7144f6d2772..08474f8714b8 100644 --- a/system-tests/projects/pristine/expected-cypress-js-e2e/cypress.config.js +++ b/system-tests/projects/pristine/expected-cypress-js-e2e/cypress.config.js @@ -1,9 +1,9 @@ -const { defineConfig } = require('cypress') +const { defineConfig } = require("cypress"); module.exports = defineConfig({ e2e: { - setupNodeEvents (on, config) { + setupNodeEvents(on, config) { // implement node event listeners here }, }, -}) +}); \ No newline at end of file