Upgrade build to TypeScript 7

This commit is contained in:
Shivam Mathur
2026-07-26 01:22:48 +05:30
parent 0c0c27b4cb
commit a75416c329
6 changed files with 428 additions and 18 deletions
+2 -2
View File
@@ -544,7 +544,7 @@ describe('Tools tests', () => {
);
}
}));
const isolatedTools = await import('../src/tools');
const isolatedTools = jest.requireActual<typeof tools>('../src/tools');
affected = isolatedTools.skipGitHubAuthForComposerVersion('2.9.7');
fixed = isolatedTools.skipGitHubAuthForComposerVersion('2.9.8');
});
@@ -903,7 +903,7 @@ describe('Tools tests', () => {
);
}
}));
const isolatedTools = await import('../src/tools');
const isolatedTools = jest.requireActual<typeof tools>('../src/tools');
result = await isolatedTools.addTools('broken-tool', '7.4', 'linux');
});