import React from 'react';
import { shallow } from 'enzyme';
import SettingsNotification from './';
describe('SettingsNotification', () => {
it('should render correctly as warning', () => {
const wrapper = shallow(
{'this is a warning'}
,
);
expect(wrapper).toMatchSnapshot();
});
it('should render correctly as notification', () => {
const wrapper = shallow(
{'this is a notification'}
,
);
expect(wrapper).toMatchSnapshot();
});
});