import React from 'react' import renderer from 'react-test-renderer' import { Notification, NotificationBar, NotificationBarProvider } from '..' describe('packages/ui/NotificationBar', () => { it('renders a basic Notification', () => { const tree = renderer .create( {}} /> ) .toJSON() expect(tree).toMatchSnapshot() }) it('renders a basic NotificationBar', () => { const tree = renderer.create().toJSON() expect(tree).toMatchSnapshot() }) it('renders a basic NotificationBarProvider', () => { const tree = renderer .create(
Test
) .toJSON() expect(tree).toMatchSnapshot() }) })