mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09:00
fix(test backend): RelayServiceでUtilityServiceを使う
This commit is contained in:
parent
6584e6cd03
commit
2958cccd5b
@ -3,6 +3,8 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { UtilityService } from '@/core/UtilityService.js';
|
||||
|
||||
process.env.NODE_ENV = 'test';
|
||||
|
||||
import { jest } from '@jest/globals';
|
||||
@ -40,6 +42,7 @@ describe('RelayService', () => {
|
||||
ApRendererService,
|
||||
RelayService,
|
||||
UserEntityService,
|
||||
UtilityService,
|
||||
],
|
||||
})
|
||||
.useMocker((token) => {
|
||||
|
Loading…
Reference in New Issue
Block a user