import * as React from 'react';
import renderer from 'react-test-renderer';
import MDToast from '../index';
import MDToastView from '../toast';
import MDToastWrapper from '../wrapper';
it('renders correctly with defaults', () => {
const component = renderer
.create(
)
.toJSON();
expect(component).toMatchSnapshot();
});
it('renders correctly with custom icon', () => {
const component = renderer
.create(
)
.toJSON();
expect(component).toMatchSnapshot();
});
it('renders correctly with custom position', () => {
const component = renderer
.create(
)
.toJSON();
expect(component).toMatchSnapshot();
const bottom = renderer
.create(
)
.toJSON();
expect(bottom).toMatchSnapshot();
});