Skip to content

Commit 0e7a06e

Browse files
author
John Doe
committed
refactor: fix lint
1 parent 3fe62f1 commit 0e7a06e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

testing/test-setup/src/lib/clock.setup-file.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ const MOCK_TIME_ORIGIN = 500_000;
66
const dateNow = MOCK_DATE_NOW_MS;
77
const performanceTimeOrigin = MOCK_TIME_ORIGIN;
88

9+
/* eslint-disable functional/no-let */
910
let dateNowSpy: MockInstance<[], number> | undefined;
1011
let performanceNowSpy: MockInstance<[], number> | undefined;
12+
/* eslint-enable functional/no-let */
1113

1214
beforeEach(() => {
1315
dateNowSpy = vi.spyOn(Date, 'now').mockReturnValue(dateNow);

testing/test-setup/src/lib/process.setup-file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import process from 'node:process';
22
import { beforeEach, vi } from 'vitest';
33

4-
export const MOCK_PID = 10001;
4+
export const MOCK_PID = 10_001;
55

66
beforeEach(() => {
77
vi.spyOn(process, 'pid', 'get').mockReturnValue(MOCK_PID);

0 commit comments

Comments
 (0)