Skip to content

Commit

Permalink
Add provider to board-do.repo.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejpass committed Nov 14, 2023
1 parent 1cd9315 commit 7609993
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/server/src/modules/board/repo/board-do.repo.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import {
richTextElementFactory,
richTextElementNodeFactory,
} from '@shared/testing';
import { DrawingElementAdapterService } from '../service/drawing-element-adapter.service';
import { BoardDoRepo } from './board-do.repo';
import { BoardNodeRepo } from './board-node.repo';
import { RecursiveDeleteVisitor } from './recursive-delete.vistor';
Expand All @@ -48,6 +49,7 @@ describe(BoardDoRepo.name, () => {
RecursiveDeleteVisitor,
{ provide: FilesStorageClientAdapterService, useValue: createMock<FilesStorageClientAdapterService>() },
{ provide: ContextExternalToolService, useValue: createMock<ContextExternalToolService>() },
{ provide: DrawingElementAdapterService, useValue: createMock<DrawingElementAdapterService>() },
],
}).compile();
repo = module.get(BoardDoRepo);
Expand Down

0 comments on commit 7609993

Please sign in to comment.