mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-26 04:00:18 +01:00
fix(test backend): RelayServiceでUtilityServiceを使う
This commit is contained in:
parent
6584e6cd03
commit
2958cccd5b
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue