From 0b0e10b4bd2ecf29ce4b915d54f68ce8415512cf Mon Sep 17 00:00:00 2001 From: homer0 Date: Mon, 25 Jun 2018 15:56:01 -0300 Subject: [PATCH] Improve the tests for Travis --- .jestrc.json | 3 ++- utils/scripts/test | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.jestrc.json b/.jestrc.json index 048a0df..0af25c1 100644 --- a/.jestrc.json +++ b/.jestrc.json @@ -3,5 +3,6 @@ "unmockedModulePathPatterns": ["/node_modules/", "/mocks/"], "coveragePathIgnorePatterns": ["/node_modules/", "/mocks/"], "collectCoverage": true, - "timers": "fake" + "timers": "fake", + "testEnvironment": "node" } diff --git a/utils/scripts/test b/utils/scripts/test index 15b17c0..a832f26 100755 --- a/utils/scripts/test +++ b/utils/scripts/test @@ -10,6 +10,7 @@ new JestExRunner('./.jestrc.json', { addTransformer: true, addStubs: true, cache: false, + runInParallel: false, }) .run() .then(() => logger.success('Yay! all the unit tests passed!'))