mirror of
https://github.com/datashard/snapshot.git
synced 2024-11-22 06:02:29 +00:00
update to latest cypress version
This commit is contained in:
parent
5496c991d7
commit
62ac60e853
4 changed files with 990 additions and 541 deletions
14
cypress.config.js
Normal file
14
cypress.config.js
Normal 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);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
});
|
|
@ -1 +0,0 @@
|
||||||
{}
|
|
1511
package-lock.json
generated
1511
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -41,14 +41,14 @@
|
||||||
"test": "npm run unit",
|
"test": "npm run unit",
|
||||||
"unit": "mocha src/*-spec.js",
|
"unit": "mocha src/*-spec.js",
|
||||||
"unused-deps": "dependency-check --unused --no-dev . --entry src/add-initial-snapshot-file.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",
|
"semantic-release": "semantic-release",
|
||||||
"cypress:open": "cypress open",
|
"cypress:open": "cypress open",
|
||||||
"cypress:run": "cypress run"
|
"cypress:run": "cypress run"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"ban-sensitive-files": "1.9.15",
|
"ban-sensitive-files": "1.9.15",
|
||||||
"cypress": "3.8.3",
|
"cypress": "10.6.0",
|
||||||
"debug": "3.2.7",
|
"debug": "3.2.7",
|
||||||
"dependency-check": "2.10.1",
|
"dependency-check": "2.10.1",
|
||||||
"deps-ok": "1.4.1",
|
"deps-ok": "1.4.1",
|
||||||
|
@ -67,6 +67,7 @@
|
||||||
"js-beautify": "1.13.13",
|
"js-beautify": "1.13.13",
|
||||||
"lazy-ass": "1.6.0",
|
"lazy-ass": "1.6.0",
|
||||||
"snap-shot-compare": "3.0.0",
|
"snap-shot-compare": "3.0.0",
|
||||||
|
"snap-shot-it": "7.9.6",
|
||||||
"snap-shot-store": "1.2.3"
|
"snap-shot-store": "1.2.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue