Skip to content

Commit

Permalink
Fixed useSelector test (#1608)
Browse files Browse the repository at this point in the history
  • Loading branch information
keiya01 authored Jul 9, 2020
1 parent e0f137a commit 05e3a64
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/hooks/useSelector.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('React', () => {
})
})

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

Expand Down Expand Up @@ -434,8 +434,6 @@ describe('React', () => {
}))
})

afterEach(() => rtl.cleanup())

it('subscribes to the correct store', () => {
const nestedContext = React.createContext(null)
const useCustomSelector = createSelectorHook(nestedContext)
Expand Down

0 comments on commit 05e3a64

Please sign in to comment.