File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ var _objectAssign2 = _interopRequireDefault(_objectAssign);
2424
2525function _interopRequireDefault ( obj ) { return obj && obj . __esModule ? obj : { default : obj } ; }
2626
27- var IS_NODE = typeof document === 'undefined' || process && process . env && process . env . NODE_ENV === 'test' ;
27+ var IS_NODE = typeof document === 'undefined' || typeof process !== 'undefined' && process . env && process . env . NODE_ENV === 'test' ;
2828var _rawCookie = { } ;
2929var _res = void 0 ;
3030
Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ import objectAssign from 'object-assign'
55
66const IS_NODE =
77 typeof document === 'undefined' ||
8- ( process && process . env && process . env . NODE_ENV === 'test' )
8+ ( typeof process !== 'undefined' &&
9+ process . env &&
10+ process . env . NODE_ENV === 'test' )
911let _rawCookie = { }
1012let _res
1113
You can’t perform that action at this time.
0 commit comments