Remove jest because it is not needed
Use Testcafé e2e tests for all kinds of frontend testing
This commit is contained in:
+7
-4
@@ -23,16 +23,19 @@
|
||||
"lint:sass": "stylelint ./src/**/**/*.scss ./src/**/*.scss ./src/*.scss",
|
||||
"start": "npm run start-dev",
|
||||
"start-dev": "webpack-dev-server --config=configs/webpack/dev.js",
|
||||
"test": "npm-run-all test:unit test:e2e",
|
||||
"serve": "node express.js",
|
||||
"start-prod": "npm run build && npm run serve",
|
||||
"test:unit": "jest --watch --coverage --config=configs/jest.json",
|
||||
"test": "npm-run-all lint test:e2e",
|
||||
"test:e2e": "npm-run-all -s build -p -r serve test:e2e:run",
|
||||
"test:e2e:run": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome tests/testcafe",
|
||||
"plop": "plop"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "npm run test"
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^23.0.0",
|
||||
"@types/node": "^10.3.1",
|
||||
"@types/react": "^16.3.16",
|
||||
"@types/react-dom": "^16.0.6",
|
||||
@@ -46,8 +49,8 @@
|
||||
"express": "^4.16.3",
|
||||
"file-loader": "^1.1.11",
|
||||
"html-webpack-plugin": "^3.2.0",
|
||||
"husky": "^1.0.0-rc.9",
|
||||
"image-webpack-loader": "^4.3.0",
|
||||
"jest": "^23.1.0",
|
||||
"node-sass": "^4.9.0",
|
||||
"npm-run-all": "^4.1.3",
|
||||
"plop": "^2.0.0",
|
||||
|
||||
Reference in New Issue
Block a user