fix(backend): ローカル判定でisUriLocalを使用していない箇所を修正 (#15069)

* fix(backend): ローカル判定でisUriLocalを使用していない箇所を修正

* fix(test backend): RelayServiceでUtilityServiceを使う
This commit is contained in:
鴇峰 朔華
2025-02-26 10:28:53 +09:00
committed by GitHub
parent b5799351d0
commit 39c487e1d1
3 changed files with 7 additions and 2 deletions

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