Skip to content

Commit

Permalink
fix: did service spec
Browse files Browse the repository at this point in the history
  • Loading branch information
JGiter committed Nov 6, 2024
1 parent 2e15079 commit 4d6a01d
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 @@ -18,6 +18,7 @@ import { SentryTracingService } from '../sentry/sentry-tracing.service';
import { EthereumDIDRegistry } from '../../ethers/EthereumDIDRegistry';
import { UPDATE_DOCUMENT_QUEUE_NAME } from './did.types';
import { IPFSService } from '../ipfs/ipfs.service';
import { LastDidSync } from './lastDidSync.entity';

const { formatBytes32String } = utils;

Expand Down Expand Up @@ -104,6 +105,10 @@ describe('DidDocumentService', () => {
provide: getRepositoryToken(DIDDocumentEntity),
useFactory: repositoryMockFactory,
},
{
provide: getRepositoryToken(LastDidSync),
useFactory: repositoryMockFactory,
},
{ provide: Provider, useValue: provider },
{ provide: SentryTracingService, useValue: MockSentryTracing },
{
Expand Down

0 comments on commit 4d6a01d

Please sign in to comment.