Skip to content

Commit f508cab

Browse files
authored
Fix test (reduxjs#1974)
1 parent 0e73bcc commit f508cab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/createStore.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ describe('createStore', () => {
408408
it('does not leak private listeners array', done => {
409409
const store = createStore(reducers.todos)
410410
store.subscribe(function () {
411-
expect(this).toNotBeA(Array)
411+
expect(this).toBe(undefined)
412412
done()
413413
})
414414
store.dispatch(addTodo('Hello'))

0 commit comments

Comments
 (0)