Merge pull request #24 from tsurupin/add-global-navigator
Add global.navigator to test_helper.js
This commit is contained in:
commit
ff4d48c39a
|
@ -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, $);
|
||||
|
|
Loading…
Reference in New Issue