main

mattermost/focalboard

Last updated at: 29/12/2023 09:41

kanbanColumn.test.tsx

TLDR

This file contains a test for the KanbanColumn component.

Methods

None

Classes

None

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {render} from '@testing-library/react'
import React from 'react'

import {wrapDNDIntl} from '../../testUtils'

import KanbanColumn from './kanbanColumn'
describe('src/components/kanban/kanbanColumn', () => {
    test('should match snapshot', () => {
        const {container} = render(wrapDNDIntl(
            <KanbanColumn
                onDrop={jest.fn()}
            >
                {}
            </KanbanColumn>,
        ))
        expect(container).toMatchSnapshot()
    })
})