Skip to content

Commit

Permalink
test: did service
Browse files Browse the repository at this point in the history
  • Loading branch information
JGiter committed Nov 8, 2024
1 parent 9299e5f commit 0d18c80
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/modules/did/did.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { EthereumDIDRegistry } from '../../ethers/EthereumDIDRegistry';
import { UPDATE_DOCUMENT_QUEUE_NAME } from './did.types';
import { IPFSService } from '../ipfs/ipfs.service';
import { LatestDidSync } from './latestDidSync.entity';
import { DidSyncStatusEntity } from './didSyncStatus.entity';

const { formatBytes32String } = utils;

Expand Down Expand Up @@ -109,6 +110,10 @@ describe('DidDocumentService', () => {
provide: getRepositoryToken(LatestDidSync),
useFactory: repositoryMockFactory,
},
{
provide: getRepositoryToken(DidSyncStatusEntity),
useFactory: repositoryMockFactory,
},
{ provide: Provider, useValue: provider },
{ provide: SentryTracingService, useValue: MockSentryTracing },
{
Expand Down

0 comments on commit 0d18c80

Please sign in to comment.