fix(test backend): RelayServiceでUtilityServiceを使う

This commit is contained in:
鴇峰 朔華 2024-11-28 16:53:01 +09:00
parent 6584e6cd03
commit 2958cccd5b

View File

@ -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) => {