Yuki Takei 2 месяцев назад
Родитель
Сommit
02aaf35774
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      apps/app/src/server/models/user/user.integ.ts

+ 0 - 2
apps/app/src/server/models/user/user.integ.ts

@@ -9,7 +9,6 @@ import type { S2sMessagingService } from '~/server/service/s2s-messaging/base';
 import { UserStatus } from './conts';
 
 describe('User', () => {
-  // eslint-disable-next-line @typescript-eslint/no-explicit-any
   let User: any;
   let adminusertestToBeRemovedId: mongoose.Types.ObjectId;
 
@@ -34,7 +33,6 @@ describe('User', () => {
     // Initialize User model with mocked Crowi using dynamic import
     const userModule = await import('./index');
     const userFactory = userModule.default;
-    // @ts-expect-error - mock has partial properties
     User = userFactory(crowiMock);
 
     await User.insertMany([