fix yarn test for bashy things v2
This commit is contained in:
parent
f06a94388f
commit
bcba9a3e50
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,7 @@
|
||||||
"stylelint": "stylelint 'res/css/**/*.scss'",
|
"stylelint": "stylelint 'res/css/**/*.scss'",
|
||||||
"clean": "rimraf lib",
|
"clean": "rimraf lib",
|
||||||
"prepare": "yarn clean && yarn build && git rev-parse HEAD > git-revision.txt",
|
"prepare": "yarn clean && yarn build && git rev-parse HEAD > git-revision.txt",
|
||||||
"test": "jest --testMatch '**/*-test.js'",
|
"test": "jest",
|
||||||
"e2etests": "./test/end-to-end-tests/run.sh --riot-url http://localhost:8080"
|
"e2etests": "./test/end-to-end-tests/run.sh --riot-url http://localhost:8080"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -157,6 +157,7 @@
|
||||||
"webpack-cli": "^3.1.1"
|
"webpack-cli": "^3.1.1"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
|
"testMatch": ["**/*-test.js"],
|
||||||
"setupTestFrameworkScriptFile": "<rootDir>/test/setupTests.js",
|
"setupTestFrameworkScriptFile": "<rootDir>/test/setupTests.js",
|
||||||
"moduleNameMapper": {
|
"moduleNameMapper": {
|
||||||
"\\.(gif|png|svg|ttf|woff2)$": "<rootDir>/__mocks__/imageMock.js"
|
"\\.(gif|png|svg|ttf|woff2)$": "<rootDir>/__mocks__/imageMock.js"
|
||||||
|
|
Loading…
Reference in a new issue