You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ...
WARNING in ./~/sinon/lib/sinon/util/event.js
Critical dependencies:
107:25-32 require function is used in a way in which dependencies cannot be statically extracted
@ ./~/sinon/lib/sinon/util/event.js 107:25-32
WARNING in ./~/sinon/lib/sinon/util/fake_xdomain_request.js
Critical dependencies:
219:25-32 require function is used in a way in which dependencies cannot be statically extracted
@ ./~/sinon/lib/sinon/util/fake_xdomain_request.js 219:25-32
WARNING in ./~/sinon/lib/sinon/util/core.js
Critical dependencies:
382:25-32 require function is used in a way in which dependencies cannot be statically extracted
@ ./~/sinon/lib/sinon/util/core.js 382:25-32
WARNING in ./~/sinon/lib/sinon/util/fake_xml_http_request.js
Critical dependencies:
627:25-32 require function is used in a way in which dependencies cannot be statically extracted
@ ./~/sinon/lib/sinon/util/fake_xml_http_request.js 627:25-32
WARNING in ./~/sinon/lib/sinon/util/fake_timers.js
Critical dependencies:
73:25-32 require function is used in a way in which dependencies cannot be statically extracted
@ ./~/sinon/lib/sinon/util/fake_timers.js 73:25-32
PhantomJS 1.9.8 (Linux 0.0.0) ERROR
TypeError: 'undefined' is not an object (evaluating 'modules[moduleId].call')
at /home/ubuntu/webdev/learn/yuzbir-react/app/app.tests.js:20:0 <- webpack:/webpack/bootstrap 6f2205015bef446b3e59:19:0
The text was updated successfully, but these errors were encountered:
When I add this line to my tests:
import Sinon from 'sinon';
I get a bunch of warnings and finally an error:
The text was updated successfully, but these errors were encountered: