mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-26 18:53:35 -05:00
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