mirror of
https://github.com/ansible/awx.git
synced 2026-03-03 09:48:51 -03: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 />', () => {
|
||||
afterEach(() => {
|
||||
jest.restoreAllMocks();
|
||||
});
|
||||
|
||||
test('initially renders succesfully', () => {
|
||||
mount(
|
||||
<I18nProvider>
|
||||
|
||||
Reference in New Issue
Block a user