Revision 89b8fc37
Added by Amir Fefer over 4 years ago
webpack/assets/javascripts/react_app/components/AuditsList/__tests__/SearchLink.test.js | ||
---|---|---|
import toJson from 'enzyme-to-json';
|
||
import { shallowRenderComponentWithFixtures } from '../../../common/testHelpers';
|
||
import SearchLink from '../SearchLink';
|
||
|
||
... | ... | |
);
|
||
components.forEach(({ description, component }) => {
|
||
it(description, () => {
|
||
expect(toJson(component)).toMatchSnapshot();
|
||
expect(component).toMatchSnapshot();
|
||
});
|
||
});
|
||
});
|
Also available in: Unified diff
Fixes #28488 - consume jest config from env