Skip to content

Commit

Permalink
fix pristine snapshots
Browse files Browse the repository at this point in the history
run ci
  • Loading branch information
flotwig committed Feb 3, 2023
1 parent 05ce462 commit 31f2813
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 23 deletions.
13 changes: 12 additions & 1 deletion system-tests/.eslintignore
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
5 changes: 1 addition & 4 deletions system-tests/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,5 @@
],
"rules": {
"no-console": "off"
},
"ignorePatterns": [
"project-fixtures/react/src/AppCompilationError.cy.jsx"
]
}
}
Original file line number Diff line number Diff line change
@@ -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,
},
},
})
});
Original file line number Diff line number Diff line change
@@ -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
},
},
})
});
Original file line number Diff line number Diff line change
@@ -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",
},
},
})
});
Original file line number Diff line number Diff line change
@@ -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
},
},
})
});
Original file line number Diff line number Diff line change
@@ -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
},
},
})
});

0 comments on commit 31f2813

Please sign in to comment.