From 7fb80ec4ba85a704087dfec072658ba946c16659 Mon Sep 17 00:00:00 2001 From: Matt Schoch Date: Tue, 26 Mar 2024 14:54:31 -0400 Subject: [PATCH] Fixing test --- .../vault/core/service/__test__/unit/import.service.spec.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/vault/src/vault/core/service/__test__/unit/import.service.spec.ts b/apps/vault/src/vault/core/service/__test__/unit/import.service.spec.ts index 95e22f26d..388086f23 100644 --- a/apps/vault/src/vault/core/service/__test__/unit/import.service.spec.ts +++ b/apps/vault/src/vault/core/service/__test__/unit/import.service.spec.ts @@ -1,5 +1,6 @@ import { Test, TestingModule } from '@nestjs/testing' import { Wallet } from '../../../../../shared/type/domain.type' +import { ImportRepository } from '../../../../persistence/repository/import.repository' import { WalletRepository } from '../../../../persistence/repository/wallet.repository' import { ImportService } from '../../import.service' @@ -24,6 +25,10 @@ describe('ImportService', () => { privateKey: PRIVATE_KEY }) } + }, + { + provide: ImportRepository, + useValue: {} } ] }).compile()