8000 chore: fix getProjectConfigFiles tests for node:fs · jakebailey/typescript-eslint@a8f91e3 · GitHub
[go: up one dir, main page]

Skip to content

Commit a8f91e3

Browse files
chore: fix getProjectConfigFiles tests for node:fs
1 parent f8bdb49 commit a8f91e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/typescript-estree/tests/lib/getProjectConfigFiles.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { getProjectConfigFiles } from '../../src/parseSettings/getProjectConfigF
55

66
const mockExistsSync = jest.fn<boolean, [string]>();
77

8-
jest.mock('fs', () => ({
8+
jest.mock('node:fs', () => ({
99
...jest.requireActual('fs'),
1010
existsSync: (filePath: string): boolean => mockExistsSync(filePath),
1111
}));

0 commit comments

Comments
 (0)
0