PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR
Error: Cannot find module "../../src/components/userfeedback"
at /Users/kM/Web/ali-baichuan/baichuan-console-static/test/components/userfeedback-test.js:55 <- webpack:///test/components/userfeedback-test.js:3:0
and this is a part of my userfeedback-test.js:
import UserFeedback from '../../src/components/userfeedback';
the interesting thing is that, when i use isparta-instrumenter-loader, which is deprecated, the test runs successfully. Following is a part of my new karma.conf.js:
this is a part of my karma.conf.js:
then i run test using karma, it said:
and this is a part of my userfeedback-test.js:
the interesting thing is that, when i use isparta-instrumenter-loader, which is deprecated, the test runs successfully. Following is a part of my new karma.conf.js: