Merge pull request #24 from tsurupin/add-global-navigator

Add global.navigator to test_helper.js
This commit is contained in:
Stephen Grider 2016-05-25 14:47:03 -07:00
commit ff4d48c39a
1 changed files with 1 additions and 0 deletions

View File

@ -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, $);