Skip to content

Commit 5381f33

Browse files
committed
test: serialize fixture cli verification
1 parent de9888c commit 5381f33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/generate.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ describe('code scan generation', () => {
547547
expect(buttonTestSource).toContain('../../../src/components/Button.tsx');
548548
expect(buttonTestSource).toContain('react component adapter');
549549

550-
const { run, payload } = runCliJsonWithRetry(tempDir, ['test', '--json']);
550+
const { run, payload } = runCliJsonWithRetry(tempDir, ['test', '--json', '--workers', '1']);
551551
expect(run.status).toBe(0);
552552
expect(Boolean(payload)).toBe(true);
553553
expect(payload.summary.failed).toBe(0);
@@ -811,7 +811,7 @@ describe('code scan generation', () => {
811811
'src/hooks/useToggle.themis.json'
812812
]);
813813

814-
const { run, payload: runPayload } = runCliJsonWithRetry(tempDir, ['test', '--json']);
814+
const { run, payload: runPayload } = runCliJsonWithRetry(tempDir, ['test', '--json', '--workers', '1']);
815815
expect(run.status).toBe(0);
816816
expect(Boolean(runPayload)).toBe(true);
817817
expect(runPayload.summary.failed).toBe(0);

0 commit comments

Comments
 (0)