This commit is contained in:
Keith Grant 2020-09-17 13:46:43 -07:00
parent cde8cb57da
commit 43d339d1cd

View File

@ -1,12 +1,10 @@
import React from 'react';
import { act } from 'react-dom/test-utils';
import {
mountWithContexts,
waitForElement,
} from '../../../testUtils/enzymeHelpers';
import { ConfigAPI, MeAPI, RootAPI } from '../../api';
import AppContainer from './AppContainer';
jest.mock('../../api');
@ -58,6 +56,7 @@ describe('<AppContainer />', () => {
</AppContainer>
);
});
wrapper.update();
// page components
expect(wrapper.length).toBe(1);