mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 13:11:19 -03:30
Clear mocked methods after each test to prevent overlaps with other tests.
This commit is contained in:
parent
518ecee53e
commit
a5683fb354
@ -26,6 +26,10 @@ const mockData = [
|
||||
];
|
||||
|
||||
describe('<OrganizationAccessList />', () => {
|
||||
afterEach(() => {
|
||||
jest.restoreAllMocks();
|
||||
});
|
||||
|
||||
test('initially renders succesfully', () => {
|
||||
mount(
|
||||
<I18nProvider>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user