Skip to content

Commit c286766

Browse files
committed
Fix Prettier formatting strictly
1 parent 0081f3f commit c286766

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/commands/test.rerun.spec.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2889,7 +2889,7 @@ describe('[fix-1] batch rerun: notFound[] ids aggregated and warned on stderr',
28892889
...creds,
28902890
sleep: instantSleep,
28912891
fetchImpl,
2892-
stdout: () => { },
2892+
stdout: () => {},
28932893
stderr: line => stderrLines.push(line),
28942894
},
28952895
);
@@ -2945,7 +2945,7 @@ describe('[fix-1] batch rerun: notFound[] ids aggregated and warned on stderr',
29452945
...creds,
29462946
sleep: instantSleep,
29472947
fetchImpl,
2948-
stdout: () => { },
2948+
stdout: () => {},
29492949
stderr: line => stderrLines.push(line),
29502950
},
29512951
);
@@ -3177,7 +3177,7 @@ describe('runTestRerun --all --skip-terminal (dogfood L1796)', () => {
31773177
...creds,
31783178
sleep: instantSleep,
31793179
fetchImpl: makeFilterFetch(dispatched),
3180-
stderr: () => { },
3180+
stderr: () => {},
31813181
},
31823182
);
31833183

@@ -4835,7 +4835,7 @@ describe('[finding-5] batch rerun --wait: RequestTimeoutError during fan-out pol
48354835
closure: { byProject: [] },
48364836
};
48374837

4838-
const fetchImpl = makeFetch((url) => {
4838+
const fetchImpl = makeFetch(url => {
48394839
if (url.includes('/tests/batch/rerun')) {
48404840
return { status: 202, body: batchResp };
48414841
}
@@ -4864,18 +4864,18 @@ describe('[finding-5] batch rerun --wait: RequestTimeoutError during fan-out pol
48644864
...creds,
48654865
sleep: instantSleep,
48664866
fetchImpl: fetchImpl as unknown as FetchImpl,
4867-
stdout: (line) => stdoutLines.push(line),
4867+
stdout: line => stdoutLines.push(line),
48684868
stderr: () => undefined,
48694869
},
4870-
).catch((e) => e);
4870+
).catch(e => e);
48714871

48724872
expect(err).toMatchObject({ exitCode: 7 });
48734873
const parsed = JSON.parse(stdoutLines.join('\n')) as {
48744874
accepted: Array<{ testId: string; runId: string; status: string }>;
48754875
};
48764876
expect(parsed.accepted).toHaveLength(2);
4877-
expect(parsed.accepted.map((r) => r.runId).sort()).toEqual(['run_b1', 'run_b2']);
4878-
expect(parsed.accepted.every((r) => r.status === 'timeout')).toBe(true);
4877+
expect(parsed.accepted.map(r => r.runId).sort()).toEqual(['run_b1', 'run_b2']);
4878+
expect(parsed.accepted.every(r => r.status === 'timeout')).toBe(true);
48794879
});
48804880
});
48814881

@@ -4938,10 +4938,10 @@ describe('[finding-4] single FE rerun --wait: TimeoutError writes partial JSON t
49384938
...creds,
49394939
sleep: instantSleep,
49404940
fetchImpl: fetchImpl as unknown as FetchImpl,
4941-
stdout: (line) => stdoutLines.push(line),
4941+
stdout: line => stdoutLines.push(line),
49424942
stderr: () => undefined,
49434943
},
4944-
).catch((e) => e);
4944+
).catch(e => e);
49454945

49464946
expect(err).toMatchObject({ exitCode: 7 });
49474947
expect(stdoutLines.length).toBeGreaterThan(0);

0 commit comments

Comments
 (0)