From dd4970f1f49eeadd39b7e24ac9ae3c770d1b5a78 Mon Sep 17 00:00:00 2001 From: Martijn Walraven Date: Fri, 10 Aug 2018 16:51:02 +0200 Subject: [PATCH] Run Jest tests in a multi-project runner instead of in separate runners --- package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c176a18a..99eea8ef 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "pretest": "npm run compile", "test": "npm run testonly", "posttest": "npm run lint", - "testonly": "lerna run test", + "testonly": "jest --verbose", "coverage": "lerna run coverage", "circle": "lerna run coverage && lerna run circle", "release": "lerna publish --exact", @@ -48,5 +48,10 @@ "supertest": "3.1.0", "ts-jest": "23.1.3", "typescript": "2.9.2" + }, + "jest": { + "projects": [ + "/packages/*" + ] } }