fix unit tests?
This commit is contained in:
parent
96125673a6
commit
dd09ce2eb2
|
@ -57,6 +57,7 @@ describe('UserSuspendService', () => {
|
||||||
usernameLower: secureRndstr(16).toLowerCase(),
|
usernameLower: secureRndstr(16).toLowerCase(),
|
||||||
host: null,
|
host: null,
|
||||||
isSuspended: false,
|
isSuspended: false,
|
||||||
|
isRemoteSuspended: false,
|
||||||
...data,
|
...data,
|
||||||
} as MiUser;
|
} as MiUser;
|
||||||
|
|
||||||
|
|
|
@ -51,6 +51,7 @@ import { ReactionService } from '@/core/ReactionService.js';
|
||||||
import { NotificationService } from '@/core/NotificationService.js';
|
import { NotificationService } from '@/core/NotificationService.js';
|
||||||
import { ReactionsBufferingService } from '@/core/ReactionsBufferingService.js';
|
import { ReactionsBufferingService } from '@/core/ReactionsBufferingService.js';
|
||||||
import { ChatService } from '@/core/ChatService.js';
|
import { ChatService } from '@/core/ChatService.js';
|
||||||
|
import { UserSuspendService } from '@/core/UserSuspendService.js';
|
||||||
|
|
||||||
process.env.NODE_ENV = 'test';
|
process.env.NODE_ENV = 'test';
|
||||||
|
|
||||||
|
@ -170,6 +171,7 @@ describe('UserEntityService', () => {
|
||||||
InstanceChart,
|
InstanceChart,
|
||||||
ApLoggerService,
|
ApLoggerService,
|
||||||
AccountMoveService,
|
AccountMoveService,
|
||||||
|
UserSuspendService,
|
||||||
ReactionService,
|
ReactionService,
|
||||||
ReactionsBufferingService,
|
ReactionsBufferingService,
|
||||||
NotificationService,
|
NotificationService,
|
||||||
|
|
Loading…
Reference in New Issue