mirror of
https://github.com/ansible/awx.git
synced 2026-05-17 06:17:36 -02:30
Clear mocked methods after each test to prevent overlaps with other tests.
This commit is contained in:
@@ -26,6 +26,10 @@ const mockData = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
describe('<OrganizationAccessList />', () => {
|
describe('<OrganizationAccessList />', () => {
|
||||||
|
afterEach(() => {
|
||||||
|
jest.restoreAllMocks();
|
||||||
|
});
|
||||||
|
|
||||||
test('initially renders succesfully', () => {
|
test('initially renders succesfully', () => {
|
||||||
mount(
|
mount(
|
||||||
<I18nProvider>
|
<I18nProvider>
|
||||||
|
|||||||
Reference in New Issue
Block a user