main

mattermost/focalboard

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

dividerElement.test.tsx

TLDR

This file is a test file for the DividerElement component. It contains a single test case that checks if the rendered component matches the snapshot.

Methods

No methods are defined in this file.

Classes

No classes are defined in this file.

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.

import React from 'react'
import {render} from '@testing-library/react'

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

import DividerElement from './dividerElement'

describe('components/content/DividerElement', () => {
    test('should match snapshot', async () => {
        const component = wrapIntl(<DividerElement/>)
        const {container} = render(component)
        expect(container).toMatchSnapshot()
    })
})