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 12, 2024
1 parent 985a5cd commit 487f07f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/did/did.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { UPDATE_DOCUMENT_QUEUE_NAME } from './did.types';
import { IPFSService } from '../ipfs/ipfs.service';
import { LatestDidSync } from './latestDidSync.entity';
import { DidSyncStatusEntity } from './didSyncStatus.entity';
import { DataSource } from 'typeorm';

const { formatBytes32String } = utils;

Expand Down Expand Up @@ -126,6 +127,7 @@ describe('DidDocumentService', () => {
inject: [ConfigService],
},
{ provide: IPFSService, useValue: MockObject },
{ provide: DataSource, useValue: MockObject },
],
}).compile();
await module.init();
Expand Down

0 comments on commit 487f07f

Please sign in to comment.