You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
348 B
11 lines
348 B
import React from 'react'
|
|
import { shallow } from 'enzyme'
|
|
import toJSON from 'enzyme-to-json'
|
|
import { Message } from 'components/UI'
|
|
|
|
describe('component.UI.Message', () => {
|
|
it('should render correctly with default props', () => {
|
|
const wrapper = shallow(<Message>A message</Message>)
|
|
expect(toJSON(wrapper)).toMatchSnapshot()
|
|
})
|
|
})
|
|
|