mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 15:44:59 +00:00
CM: Fix test errors for EditSettingsView
This commit is contained in:
parent
8231bb905a
commit
43a81dd943
File diff suppressed because it is too large
Load Diff
@ -88,13 +88,13 @@ describe('EditSettingsView', () => {
|
||||
expect(screen.getByText('Configure the view - Address')).toBeInTheDocument()
|
||||
);
|
||||
|
||||
expect(container.firstChild).toMatchSnapshot();
|
||||
expect(container).toMatchSnapshot();
|
||||
});
|
||||
|
||||
it('should add relation', async () => {
|
||||
const history = createMemoryHistory();
|
||||
|
||||
const { container } = render(makeApp(history), { container: document.body });
|
||||
const { container } = render(makeApp(history));
|
||||
|
||||
await waitFor(() =>
|
||||
expect(screen.getByText('Configure the view - Address')).toBeInTheDocument()
|
||||
@ -113,7 +113,7 @@ describe('EditSettingsView', () => {
|
||||
it('should add field', async () => {
|
||||
const history = createMemoryHistory();
|
||||
|
||||
const { container } = render(makeApp(history), { container: document.body });
|
||||
const { container } = render(makeApp(history));
|
||||
|
||||
await waitFor(() =>
|
||||
expect(screen.getByText('Configure the view - Address')).toBeInTheDocument()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user