mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
fix flakey unit tests I hope
This commit is contained in:
parent
78d6e21256
commit
0e12c7deb4
@ -2,7 +2,7 @@ import React from 'react';
|
||||
|
||||
import { mountWithContexts } from '../../../testUtils/enzymeHelpers';
|
||||
|
||||
import Job from './Jobs';
|
||||
import Job from './Job';
|
||||
|
||||
jest.mock('react-router-dom', () => ({
|
||||
...jest.requireActual('react-router-dom'),
|
||||
|
||||
@ -18,7 +18,6 @@ describe('<Jobs />', () => {
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
wrapper.unmount();
|
||||
jest.clearAllMocks();
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user