eduardomoroni/mtgx

View on GitHub
__tests__/unit/src/modules/shared/components/notification.test.js

Summary

Maintainability
A
0 mins
Test Coverage
// @flow

import React from 'react'
import { shallow } from 'enzyme'
import { Notification } from '../../../../../../src/modules/shared/components/notification'

describe('<Notification />', () => {
  it('should have a snapshot', () => {
    const props = { message: 'Test message' }
    expect(shallow(<Notification {...props} />)).toMatchSnapshot()
  })
})