fix yarn test for bashy things v2

This commit is contained in:
Michael Telatynski 2019-12-17 12:23:51 +00:00
parent f06a94388f
commit bcba9a3e50

View File

@ -52,7 +52,7 @@
"stylelint": "stylelint 'res/css/**/*.scss'",
"clean": "rimraf lib",
"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"
},
"dependencies": {
@ -157,6 +157,7 @@
"webpack-cli": "^3.1.1"
},
"jest": {
"testMatch": ["**/*-test.js"],
"setupTestFrameworkScriptFile": "<rootDir>/test/setupTests.js",
"moduleNameMapper": {
"\\.(gif|png|svg|ttf|woff2)$": "<rootDir>/__mocks__/imageMock.js"