From bca931d42316d3d2b082262b7d47b141cd1b1b39 Mon Sep 17 00:00:00 2001 From: yoavniran Date: Tue, 6 Apr 2021 19:09:19 +0300 Subject: [PATCH 1/2] test: make jest run faster --- .github/stale.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/stale.yml b/.github/stale.yml index 617df43f..9931dfcf 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -1,7 +1,7 @@ # Configuration for probot-stale - https://github.com/probot/stale # Number of days of inactivity before an Issue or Pull Request becomes stale -daysUntilStale: 30 +daysUntilStale: 21 # Number of days of inactivity before an Issue or Pull Request with the stale label is closed. # Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. diff --git a/package.json b/package.json index 8df8d1f1..10470c68 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "sb:bw": "yarn sb:build --watch", "sb:serve": "http-server ./.sb-static -p 8001", "start": "yarn sb:start", - "jest": "NODE_ENV=test jest", + "jest": "NODE_ENV=test jest --maxWorkers=25%", "jest:cov": "yarn jest --coverage", "jest:ci": "yarn jest:cov --ci --runInBand --reporters='default' --reporters='jest-junit' ", "flow:mono": "flow-mono create-symlinks ./.flowconfig", From e50af53afc3cc875e6787f636e5cb0eee4dad140 Mon Sep 17 00:00:00 2001 From: yoavniran Date: Wed, 7 Apr 2021 10:30:21 +0300 Subject: [PATCH 2/2] test: make jest run faster --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 10470c68..169983b7 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "start": "yarn sb:start", "jest": "NODE_ENV=test jest --maxWorkers=25%", "jest:cov": "yarn jest --coverage", - "jest:ci": "yarn jest:cov --ci --runInBand --reporters='default' --reporters='jest-junit' ", + "jest:ci": "NODE_ENV=test jest --coverage --ci --runInBand --reporters='default' --reporters='jest-junit'", "flow:mono": "flow-mono create-symlinks ./.flowconfig", "flow": "yarn flow:mono; flow --show-all-errors", "flow:copy": "lerna exec --stream -- yarn flow:copy",