From 43d339d1cdb9fda88fbb3990bcf261485956b738 Mon Sep 17 00:00:00 2001 From: Keith Grant Date: Thu, 17 Sep 2020 13:46:43 -0700 Subject: [PATCH] fix test --- awx/ui_next/src/components/AppContainer/AppContainer.test.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/awx/ui_next/src/components/AppContainer/AppContainer.test.jsx b/awx/ui_next/src/components/AppContainer/AppContainer.test.jsx index 93a7bb5963..bdb67db490 100644 --- a/awx/ui_next/src/components/AppContainer/AppContainer.test.jsx +++ b/awx/ui_next/src/components/AppContainer/AppContainer.test.jsx @@ -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('', () => { ); }); + wrapper.update(); // page components expect(wrapper.length).toBe(1);