Updated test

This commit is contained in:
Rajat-Dabade 2022-08-17 14:40:32 +05:30
parent dd015eff63
commit a7c66a46b5

View file

@ -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)