Skip to content

Instantly share code, notes, and snippets.

@doque
Created January 22, 2016 09:35
Show Gist options
  • Save doque/84be6768fe5f03718f46 to your computer and use it in GitHub Desktop.
Save doque/84be6768fe5f03718f46 to your computer and use it in GitHub Desktop.
dbus@mbp ~/D/es6-karma-jasmine-webpack-boilerplate (master) [1]> npm test
> es6-karma-jasmine-webpack-boilerplate@0.2.0 test /Users/dbus/Desktop/es6-karma-jasmine-webpack-boilerplate
> karma start --single-run --no-auto-watch karma.config.js
Hash: 8344a6c0a9b3c44a5636
Version: webpack 1.12.11
Time: 11ms
webpack: bundle is now VALID.
webpack: bundle is now INVALID.
Hash: c6162d444c17ea31cb95
Version: webpack 1.12.11
Time: 634ms
Asset Size Chunks Chunk Names
tests.webpack.js 8.7 kB 0 [emitted] tests.webpack.js
chunk {0} tests.webpack.js (tests.webpack.js) 1.16 kB [rendered]
[0] ./tests.webpack.js 214 bytes {0} [built]
[1] ./src -test\.js$ 195 bytes {0} [built]
[2] ./src/__tests__/Calculator-test.js 586 bytes {0} [optional] [built] [1 error]
[4] ./src !(-test\.js)$ 160 bytes {0} [built]
ERROR in Cannot find module 'loader-utils'
@ ./src/__tests__/Calculator-test.js 3:18-45
webpack: bundle is now VALID.
22 01 2016 10:30:07.718:WARN [karma]: Port 9876 in use
22 01 2016 10:30:07.722:INFO [karma]: Karma v0.13.19 server started at http://localhost:9877/
22 01 2016 10:30:07.743:INFO [launcher]: Starting browser Chrome
webpack: bundle is now INVALID.
Hash: c6162d444c17ea31cb95
Version: webpack 1.12.11
Time: 8ms
Asset Size Chunks Chunk Names
tests.webpack.js 8.7 kB 0 tests.webpack.js
chunk {0} tests.webpack.js (tests.webpack.js) 1.16 kB
[0] ./tests.webpack.js 214 bytes {0}
[1] ./src -test\.js$ 195 bytes {0}
[2] ./src/__tests__/Calculator-test.js 586 bytes {0} [optional] [2 errors]
[4] ./src !(-test\.js)$ 160 bytes {0}
ERROR in Cannot find module 'loader-utils'
@ ./src/__tests__/Calculator-test.js 3:18-45
webpack: bundle is now VALID.
22 01 2016 10:30:09.610:INFO [Chrome 47.0.2526 (Mac OS X 10.11.2)]: Connected on socket /#YPwP-L1IOroYoNiWAAAA with id 11523950
Chrome 47.0.2526 (Mac OS X 10.11.2) ERROR
Uncaught Error: Cannot find module "../Calculator.js"
at /Users/dbus/Desktop/es6-karma-jasmine-webpack-boilerplate/tests.webpack.js:81
npm ERR! Test failed. See above for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment