mirror of
https://github.com/strapi/strapi.git
synced 2025-09-21 14:31:16 +00:00
removed snapshot
This commit is contained in:
parent
01d197ebd4
commit
d52279ac75
@ -1,31 +0,0 @@
|
||||
/**
|
||||
*
|
||||
* Tests for FormModalEndActions
|
||||
*
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { render } from '@testing-library/react';
|
||||
import { ThemeProvider, lightTheme } from '@strapi/parts';
|
||||
import { IntlProvider } from 'react-intl';
|
||||
import FormModalEndActions from '../index';
|
||||
|
||||
const messages = {
|
||||
'content-type-builder.component.name': 'Form Modal End Actions',
|
||||
};
|
||||
|
||||
describe('<FormModalEndActions />', () => {
|
||||
it('renders and matches the snapshot', () => {
|
||||
const {
|
||||
container: { firstChild },
|
||||
} = render(
|
||||
<ThemeProvider theme={lightTheme}>
|
||||
<IntlProvider locale="en" messages={messages} defaultLocale="en">
|
||||
<FormModalEndActions />
|
||||
</IntlProvider>
|
||||
</ThemeProvider>
|
||||
);
|
||||
|
||||
expect(firstChild).toMatchInlineSnapshot();
|
||||
});
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user