Skip to content

Commit d4ea0f8

Browse files
authored
Update helpers.ts
1 parent 335ecf9 commit d4ea0f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/tree-sitter/__tests__/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export async function testParseSourceCodeDefinitions(
8484
vi.clearAllMocks()
8585
vi.mock("fs/promises")
8686
const mockedFs = (await vi.importActual("fs/promises")) as typeof import("fs/promises")
87-
;(mockedFs.readFile as any).mockResolvedValue(content)
87+
;(fs.readFile as any).mockResolvedValue(content)
8888

8989
// Get the mock function
9090
const { loadRequiredLanguageParsers } = await import("../languageParser")

0 commit comments

Comments
 (0)