From 7609993dcf716f352384d424df7b566291e0f3c6 Mon Sep 17 00:00:00 2001 From: blazejpass Date: Tue, 14 Nov 2023 13:50:22 +0100 Subject: [PATCH] Add provider to board-do.repo.spec.ts --- apps/server/src/modules/board/repo/board-do.repo.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/server/src/modules/board/repo/board-do.repo.spec.ts b/apps/server/src/modules/board/repo/board-do.repo.spec.ts index 2f9a6633e69..4e81e75aa6e 100644 --- a/apps/server/src/modules/board/repo/board-do.repo.spec.ts +++ b/apps/server/src/modules/board/repo/board-do.repo.spec.ts @@ -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'; @@ -48,6 +49,7 @@ describe(BoardDoRepo.name, () => { RecursiveDeleteVisitor, { provide: FilesStorageClientAdapterService, useValue: createMock() }, { provide: ContextExternalToolService, useValue: createMock() }, + { provide: DrawingElementAdapterService, useValue: createMock() }, ], }).compile(); repo = module.get(BoardDoRepo);