Skip to content

Commit ff4d48c

Browse files
committed
Merge pull request wesbos#24 from tsurupin/add-global-navigator
Add global.navigator to test_helper.js
2 parents b198de2 + d976e01 commit ff4d48c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_helper.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import reducers from '../src/reducers';
1111

1212
global.document = jsdom.jsdom('<!doctype html><html><body></body></html>');
1313
global.window = global.document.defaultView;
14+
global.navigator = global.window.navigator;
1415
const $ = _$(window);
1516

1617
chaiJquery(chai, chai.util, $);

0 commit comments

Comments
 (0)