Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0b3d36e

Browse files
Clean up in afterEach instead of beforeEach
1 parent 54614d7 commit 0b3d36e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/__tests__/get-by-errors.js‎

Lines changed: 1 addition & 1 deletion
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

‎src/__tests__/query-helper.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as queryHelpers from '../query-helpers'
22
import {configure, getConfig} from '../config'
33

44
const originalConfig = getConfig()
5-
beforeEach(() => {
5+
afterEach(() => {
66
configure(originalConfig)
77
})
88

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /