diff --git a/src/__tests__/get-by-errors.js b/src/__tests__/get-by-errors.js index 360ea338..366ea471 100644 --- a/src/__tests__/get-by-errors.js +++ b/src/__tests__/get-by-errors.js @@ -4,7 +4,7 @@ import {configure, getConfig} from '../config' import {render} from './helpers/test-utils' const originalConfig = getConfig() -beforeEach(() => { +afterEach(() => { configure(originalConfig) }) diff --git a/src/__tests__/query-helper.js b/src/__tests__/query-helper.js index 7e53ab03..b36e0904 100644 --- a/src/__tests__/query-helper.js +++ b/src/__tests__/query-helper.js @@ -2,7 +2,7 @@ import * as queryHelpers from '../query-helpers' import {configure, getConfig} from '../config' const originalConfig = getConfig() -beforeEach(() => { +afterEach(() => { configure(originalConfig) })