Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
afterEach(() => {
// cleaning up the mess left behind the previous test
mockAxios.reset();
React.resetMocks();
});
afterEach(() => {
// cleaning up the mess left behind the previous test
mockAxios.reset();
});
afterEach(() => {
mockAxios.reset();
});
afterEach(() => {
mockAxios.reset();
});