From bcba9a3e5081573c53fd135117749cafc68f0be3 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 17 Dec 2019 12:23:51 +0000 Subject: [PATCH] fix yarn test for bashy things v2 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 688839e3f8..a06c8dbcd3 100644 --- a/package.json +++ b/package.json @@ -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": "/test/setupTests.js", "moduleNameMapper": { "\\.(gif|png|svg|ttf|woff2)$": "/__mocks__/imageMock.js"