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.
This commit is contained in:
Robert Schäfer 2019-01-09 13:48:44 +01:00
parent 86c7b93386
commit 13666df3e2

View File

@ -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",