diff --git a/server/test/inbounds/inbound-builder.service.spec.ts b/server/test/inbounds/inbound-builder.service.spec.ts index 6036ed9..23d89de 100644 --- a/server/test/inbounds/inbound-builder.service.spec.ts +++ b/server/test/inbounds/inbound-builder.service.spec.ts @@ -238,6 +238,14 @@ describe('InboundBuilderService', () => { }); describe('buildHysteria2Link', () => { + beforeEach(() => { + jest.spyOn(console, 'warn').mockImplementation(() => {}); + }); + + afterEach(() => { + jest.restoreAllMocks(); + }); + it('должен создать ссылку hysteria2', () => { const result = service.buildHysteria2Link( '192.168.1.1',