chore(tsgo/format): fix CI errors

This commit is contained in:
Gustavo Madeira Santana
2026-02-21 17:51:56 -05:00
parent 6ac89757ba
commit 0e1aa77928
15 changed files with 133 additions and 59 deletions

View File

@@ -1249,7 +1249,7 @@ describe("QmdMemoryManager", () => {
for (const testCase of cases) {
const { manager } = await createManager();
const restoreOpen = testCase.installOpenSpy?.();
const restoreOpen = "installOpenSpy" in testCase ? testCase.installOpenSpy() : undefined;
try {
const result = await manager.readFile(testCase.request);
expect(result, testCase.name).toEqual({ text: "", path: testCase.expectedPath });