Try running tests for babel-plugin-react-forget concurrently
Unscientifically seems to be a little faster. I made sure to preserve the ordering of the logs even though the processes will run concurrently, so the ci output should still be readable 
Lauren Tan committed
Aug 17, 2023 at 11:58 UTC
9c2ce7a8c832d24a1d1954a7a0dd7966747794e6
1 file changed
+4
-2
compiler/forget/packages/babel-plugin-react-forget/package.json
+4
-2
@@ -9,12 +9,14 @@
9
],
10
"scripts": {
11
"build": "rimraf dist && tsc",
12
- "test": "yarn prettier:ci && yarn lint && yarn jest && yarn snap:build && yarn snap && yarn sprout:build && yarn sprout",
12
+ "test": "concurrently -g -n prettier,eslint,jest,snap,sprout \"yarn prettier:ci\" \"yarn lint\" \"yarn jest\" \"yarn snap:ci\" \"yarn sprout:ci\"",
13
"jest": "tsc && ts-node \"$(yarn --silent which jest)\"",
14
"snap": "node ../snap/dist/main.js",
15
- "sprout": "node ../sprout/dist/main.js",
15
"snap:build": "yarn workspace snap run build",
16
+ "snap:ci": "yarn snap:build && yarn snap",
17
+ "sprout": "node ../sprout/dist/main.js",
18
"sprout:build": "yarn workspace sprout run build",
19
+ "sprout:ci": "yarn sprout:build && yarn sprout",
20
"ts:analyze-trace": "scripts/ts-analyze-trace.sh",
21
"test262": "yarn run --silent test262-harness --preprocessor=scripts/test262-preprocessor.js",
22
"test262:all": "yarn run --silent test262 '../../test262/test/**/*.js'",