diff --git a/apps/web/src/test/hooks/useAuth.test.ts b/apps/web/src/test/hooks/useAuth.test.tsx similarity index 100% rename from apps/web/src/test/hooks/useAuth.test.ts rename to apps/web/src/test/hooks/useAuth.test.tsx diff --git a/apps/web/src/test/setup.ts b/apps/web/src/test/setup.ts index db9735026..c9fe48eef 100644 --- a/apps/web/src/test/setup.ts +++ b/apps/web/src/test/setup.ts @@ -15,6 +15,7 @@ afterEach(() => { // 全局类型声明 declare global { + // eslint-disable-next-line @typescript-eslint/no-namespace namespace Vi { interface Assertion extends jest.Matchers {} interface AsymmetricMatchersContaining extends jest.Matchers {}