Skip to content

Commit 05e3a64

Browse files
authored
Fixed useSelector test (#1608)
1 parent e0f137a commit 05e3a64

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/hooks/useSelector.spec.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ describe('React', () => {
5252
})
5353
})
5454

55-
describe('lifeycle interactions', () => {
55+
describe('lifecycle interactions', () => {
5656
it('always uses the latest state', () => {
5757
store = createStore(c => c + 1, -1)
5858

@@ -434,8 +434,6 @@ describe('React', () => {
434434
}))
435435
})
436436

437-
afterEach(() => rtl.cleanup())
438-
439437
it('subscribes to the correct store', () => {
440438
const nestedContext = React.createContext(null)
441439
const useCustomSelector = createSelectorHook(nestedContext)

0 commit comments

Comments
 (0)