From 13666df3e2dad48da03e4c1928303b2c063a799e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Wed, 9 Jan 2019 13:48:44 +0100 Subject: [PATCH] Don't run tests in /dist folder If you ran `yarn run build` followed by `yarn run test:jest` it was running the tests twice, because it matched the `/dist` folder to. --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 12df68317..9d83da85b 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,10 @@ }, "author": "Human Connection gGmbH", "license": "MIT", + "jest": { + "verbose": true, + "testMatch": ["**/src/**/?(*.)+(spec|test).js?(x)" ] + }, "dependencies": { "apollo-cache-inmemory": "~1.3.11", "apollo-client": "~2.4.8",