Skip to content

Commit

Permalink
Add drawing element coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejpass committed Sep 26, 2023
1 parent ec169f1 commit 0e4edfe
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {
cardFactory,
columnBoardFactory,
columnFactory,
drawingElementFactory,
externalToolElementFactory,
fileElementFactory,
richTextElementFactory,
Expand Down Expand Up @@ -329,7 +330,11 @@ describe('recursive board copy visitor', () => {

describe('when copying a card with children', () => {
const setup = () => {
const children = [...richTextElementFactory.buildList(4), ...submissionContainerElementFactory.buildList(3)];
const children = [
...richTextElementFactory.buildList(4),
...submissionContainerElementFactory.buildList(3),
...drawingElementFactory.buildList(1),
];
const original = cardFactory.build({ children });

return { original, ...setupfileCopyService() };
Expand Down

0 comments on commit 0e4edfe

Please sign in to comment.