Skip to content

Commit 19be0d2

Browse files
committed
fixed test
1 parent 95c84ae commit 19be0d2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/utils/__tests__/autoImportConfig.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,9 @@ vi.mock("../fs", () => ({
3838
vi.mock("../../core/config/ProviderSettingsManager", async (importOriginal) => {
3939
const originalModule = await importOriginal()
4040
return {
41-
// @ts-expect-error - we are overriding the type with a partial mock
4241
__esModule: true,
4342
// We need to mock the class constructor and its methods,
4443
// but keep other exports (like schemas) as their original values.
45-
// @ts-expect-error - we are overriding the type with a partial mock
4644
...(originalModule || {}), // Spread original exports
4745
ProviderSettingsManager: vi.fn().mockImplementation(() => ({
4846
// Mock the class

0 commit comments

Comments
 (0)