Clear mocked methods after each test to prevent overlaps with other tests.

This commit is contained in:
Kia Lam 2019-03-14 10:41:28 -04:00
parent 518ecee53e
commit a5683fb354
No known key found for this signature in database
GPG Key ID: 294F9BE53C241D03

View File

@ -26,6 +26,10 @@ const mockData = [
];
describe('<OrganizationAccessList />', () => {
afterEach(() => {
jest.restoreAllMocks();
});
test('initially renders succesfully', () => {
mount(
<I18nProvider>