mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-13 11:35:28 +00:00
use nightmare for testing
This commit is contained in:
14
package.json
14
package.json
@@ -21,22 +21,18 @@
|
||||
"webpack-hot-middleware": "^2.21.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"cypress": "^1.3.0",
|
||||
"eslint": "^4.13.1",
|
||||
"express": "^4.16.2",
|
||||
"get-port": "^3.2.0",
|
||||
"mocha": "^4.0.1",
|
||||
"nightmare": "^2.10.0",
|
||||
"node-fetch": "^1.7.3",
|
||||
"npm-run-all": "^4.1.2",
|
||||
"wait-on": "^2.0.2"
|
||||
},
|
||||
"scripts": {
|
||||
"cy:open": "cypress open",
|
||||
"test": "run-s test:unit test:dev test:prod",
|
||||
"test:unit": "mocha --opts mocha.opts",
|
||||
"test:dev": "run-p --race test:launch:dev cy:run:dev",
|
||||
"test:launch:dev": "node test/launch.js --dev",
|
||||
"cy:run:dev": "wait-on http://localhost:3000 && cypress run -s test/cypress/integration/dev.js",
|
||||
"test:prod": "run-p --race test:launch:prod cy:run:prod",
|
||||
"test:launch:prod": "node test/launch.js --prod",
|
||||
"cy:run:prod": "wait-on http://localhost:3000 && cypress run -s test/cypress/integration/prod.js"
|
||||
"test": "mocha --opts mocha.opts"
|
||||
},
|
||||
"repository": "https://github.com/sveltejs/sapper",
|
||||
"keywords": [
|
||||
|
||||
Reference in New Issue
Block a user