@salesforce/design-system-react
Version:
Salesforce Lightning Design System for React
39 lines • 981 B
JavaScript
/* eslint-env jest */
import { testDOMandHTML } from '../../../tests/snapshot-helpers';
import Info from '../__examples__/info';
import Warning from '../__examples__/warning';
import ErrorAlert from '../__examples__/error';
import ErrorWithDetailsAlert from '../__examples__/error-with-details';
import Success from '../__examples__/success';
import CustomClassNames from '../__examples__/custom-class-name';
testDOMandHTML({
name: 'Toast Info',
test: test,
Component: Info
});
testDOMandHTML({
name: 'Toast Warning',
test: test,
Component: Warning
});
testDOMandHTML({
name: 'Toast Error',
test: test,
Component: ErrorAlert
});
testDOMandHTML({
name: 'Toast Error With details',
test: test,
Component: ErrorWithDetailsAlert
});
testDOMandHTML({
name: 'Toast Success',
test: test,
Component: Success
});
testDOMandHTML({
name: 'Toast Custom Class Name',
test: test,
Component: CustomClassNames
});
//# sourceMappingURL=toast.snapshot-test.js.map