update to latest cypress version

This commit is contained in:
Joshua 2022-09-09 14:32:12 +02:00
parent 5496c991d7
commit 62ac60e853
4 changed files with 990 additions and 541 deletions

14
cypress.config.js Normal file
View file

@ -0,0 +1,14 @@
const { defineConfig } = require("cypress");
const { functions } = require("./src/utils");
module.exports = defineConfig({
snapshot: {
snapshotPath: "cypress/snapshots/",
},
e2e: {
setupNodeEvents(on, config) {
functions.tasks(on, config);
},
},
});

View file

@ -1 +0,0 @@
{}

1511
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -41,14 +41,14 @@
"test": "npm run unit",
"unit": "mocha src/*-spec.js",
"unused-deps": "dependency-check --unused --no-dev . --entry src/add-initial-snapshot-file.js",
"postinstall": "node src/add-initial-snapshot-file.js",
"postinstall": "echo 'no postinstall script'",
"semantic-release": "semantic-release",
"cypress:open": "cypress open",
"cypress:run": "cypress run"
},
"devDependencies": {
"ban-sensitive-files": "1.9.15",
"cypress": "3.8.3",
"cypress": "10.6.0",
"debug": "3.2.7",
"dependency-check": "2.10.1",
"deps-ok": "1.4.1",
@ -67,6 +67,7 @@
"js-beautify": "1.13.13",
"lazy-ass": "1.6.0",
"snap-shot-compare": "3.0.0",
"snap-shot-it": "7.9.6",
"snap-shot-store": "1.2.3"
}
}