Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6b14921

Browse files
committed
adjust jest cli settings for performance
1 parent8cc9fa3 commit6b14921

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎src/actions/runTest.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,13 @@ async function runTest({onSuccess, onFail, onRun, onError}: Props): Promise<void
4141
// }
4242

4343
// TODO: verify test runner for args
44-
consttestArgs=['--json']
44+
// jest CLI docs https://jestjs.io/docs/en/cli
45+
consttestArgs=[
46+
'--json',
47+
'--env=node',
48+
'--maxConcurrency=4',
49+
'--maxWorkers=4'
50+
]
4551

4652
// if .git repo, use --onlyChanged
4753
// const hasGit = path.join('.git');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp