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