UNPKG

@salesforce/design-system-react

Version:

Salesforce Lightning Design System for React

46 lines (38 loc) 859 B
/* 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 Offline from '../__examples__/offline'; import Dismissable from '../__examples__/dismissable'; import CustomClassNames from '../__examples__/custom-class-name'; testDOMandHTML({ name: 'Alert Info', test, Component: Info, }); testDOMandHTML({ name: 'Alert Warning', test, Component: Warning, }); testDOMandHTML({ name: 'Alert Error', test, Component: ErrorAlert, }); testDOMandHTML({ name: 'Alert Offline', test, Component: Offline, }); testDOMandHTML({ name: 'Alert Dismissable', test, Component: Dismissable, }); testDOMandHTML({ name: 'Alert Custom Class Name', test, Component: CustomClassNames, });