mirror of https://github.com/vector-im/riot-web
fix yarn test for bashy things v2
parent
f06a94388f
commit
bcba9a3e50
|
@ -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 New Issue