Skip to content

Commit 4f71920

Browse files
Clean up in afterEach instead of beforeEach
1 parent bb23329 commit 4f71920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/get-by-errors.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {configure, getConfig} from '../config'
44
import {render} from './helpers/test-utils'
55

66
const originalConfig = getConfig()
7-
beforeEach(() => {
7+
afterEach(() => {
88
configure(originalConfig)
99
})
1010

0 commit comments

Comments
 (0)