We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 335ecf9 commit d4ea0f8Copy full SHA for d4ea0f8
src/services/tree-sitter/__tests__/helpers.ts
@@ -84,7 +84,7 @@ export async function testParseSourceCodeDefinitions(
84
vi.clearAllMocks()
85
vi.mock("fs/promises")
86
const mockedFs = (await vi.importActual("fs/promises")) as typeof import("fs/promises")
87
- ;(mockedFs.readFile as any).mockResolvedValue(content)
+ ;(fs.readFile as any).mockResolvedValue(content)
88
89
// Get the mock function
90
const { loadRequiredLanguageParsers } = await import("../languageParser")
0 commit comments