Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

Commit cb2830e

Browse files
committed
Add missing unsubscribe in tests
1 parent 966ad7b commit cb2830e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/createTests.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ module.exports = function createTests(createHistory, name, reset = defaultReset)
191191

192192
expect(store.getState().routing.path).toEqual('/foo');
193193
expect(currentPath).toEqual('/foo');
194+
195+
historyUnsubscribe();
194196
});
195197

196198
it('handles toggle after store change', () => {

0 commit comments

Comments
 (0)