Updated test
This commit is contained in:
parent
dd015eff63
commit
a7c66a46b5
1 changed files with 6 additions and 8 deletions
|
@ -96,14 +96,12 @@ describe('components/boardTemplateSelector/boardTemplateSelectorPreview', () =>
|
||||||
beforeAll(mockDOM)
|
beforeAll(mockDOM)
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
jest.clearAllMocks()
|
jest.clearAllMocks()
|
||||||
const board = {
|
const board = TestBlockFactory.createBoard()
|
||||||
id: '2',
|
board.id = '2'
|
||||||
title: boardTitle,
|
board.title = boardTitle
|
||||||
teamId: 'team-id',
|
board.teamId = 'team-id'
|
||||||
icon: '🚴🏻♂️',
|
board.icon = '🚴🏻♂️'
|
||||||
cardProperties: [groupProperty],
|
board.cardProperties = [groupProperty]
|
||||||
dateDisplayPropertyId: 'id-6',
|
|
||||||
}
|
|
||||||
|
|
||||||
const activeView = TestBlockFactory.createBoardView(board)
|
const activeView = TestBlockFactory.createBoardView(board)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue