Skip to content

Commit

Permalink
Merge pull request wesbos#24 from tsurupin/add-global-navigator
Browse files Browse the repository at this point in the history
Add global.navigator to test_helper.js
  • Loading branch information
StephenGrider committed May 25, 2016
2 parents b198de2 + d976e01 commit ff4d48c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import reducers from '../src/reducers';

global.document = jsdom.jsdom('<!doctype html><html><body></body></html>');
global.window = global.document.defaultView;
global.navigator = global.window.navigator;
const $ = _$(window);

chaiJquery(chai, chai.util, $);
Expand Down

0 comments on commit ff4d48c

Please sign in to comment.