mozilla / internet-health-report

MIT License
5 stars 9 forks source link

`npm test` fails #10

Closed gvn closed 8 years ago

gvn commented 8 years ago

Running npm test yields:

> gulp-starter@3.1.0 test /Volumes/Nostromo/mozilla-code/internet-health-report
> gulp production && karma start --single-run

[10:53:34] Using gulpfile /Volumes/Nostromo/mozilla-code/internet-health-report/gulpfile.js
[10:53:34] Starting 'production'...
[10:53:34] Starting 'clean'...
[10:53:34] Finished 'clean' after 12 ms
[10:53:34] Starting 'fonts'...
[10:53:34] Starting 'iconFont'...
[10:53:34] Starting 'images'...
[10:53:34] Starting 'svgSprite'...
[10:53:34] Finished 'fonts' after 32 ms
[10:53:34] gulp-imagemin: Minified 0 images
[10:53:34] Finished 'svgSprite' after 17 ms
[10:53:34] Finished 'iconFont' after 24 ms
[10:53:34] gulp-imagemin: Minified 0 images
[10:53:34] Finished 'images' after 20 ms
[10:53:34] Starting 'html'...
[10:53:34] Finished 'html' after 8.8 ms
[10:53:34] Starting 'css'...
[10:53:34] Starting 'webpack:production'...
[10:53:42] Hash: 523fd882c9e373b114b5
Version: webpack 1.13.2
Time: 7629ms
                      Asset    Size  Chunks             Chunk Names
app-523fd882c9e373b114b5.js  438 kB       0  [emitted]  app
chunk    {0} app-523fd882c9e373b114b5.js (app) 1.11 MB [rendered]
    [0] multi app 28 bytes {0} [built]
    [1] ./src/javascripts/app.js 589 bytes {0} [built]
    [2] ./src/javascripts/modules/visualizations/Choropleth.js 6.22 kB {0} [built]
    [3] ./src/javascripts/modules/constants.js 571 bytes {0} [built]
    [4] ./~/jquery/dist/jquery.js 264 kB {0} [built]
    [5] ./~/d3/build/d3.js 446 kB {0} [built]
    [6] ./~/gsap/src/uncompressed/TweenMax.js 355 kB {0} [built]
    [7] (webpack)/buildin/amd-options.js 43 bytes {0} [built]
    [8] ./~/topojson/build/topojson.js 14.5 kB {0} [built]
    [9] ./src/javascripts/modules/visualizations/Donut.js 6.13 kB {0} [built]
   [10] ./src/javascripts/modules/visualizations/StackedArea.js 5.47 kB {0} [built]
   [11] ./src/javascripts/modules/visualizations/Area.js 4.38 kB {0} [built]
   [12] ./src/javascripts/modules/visualizations/Line.js 4.47 kB {0} [built]
   [13] ./src/javascripts/modules/visualizations/MultiLine.js 5.45 kB {0} [built]

WARNING in app-523fd882c9e373b114b5.js from UglifyJs
Side effects in initialization of unused variable homeURL [./modules/constants.js:6,13]
Side effects in initialization of unused variable colorRange [./modules/constants.js:7,13]
Side effects in initialization of unused variable breakpointM [./modules/constants.js:8,13]
Side effects in initialization of unused variable getWindowWidth [./modules/constants.js:9,13]
Condition always true [/Volumes/Nostromo/mozilla-code/internet-health-report/~/jquery/dist/jquery.js:10035,0]
Condition always true [/Volumes/Nostromo/mozilla-code/internet-health-report/~/d3/build/d3.js:3,0]
Non-strict equality against boolean: != false [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:333,0]
Non-strict equality against boolean: != false [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:339,0]
Non-strict equality against boolean: != false [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:339,0]
Non-strict equality against boolean: != false [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:402,0]
Non-strict equality against boolean: != false [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:408,0]
Non-strict equality against boolean: != false [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:408,0]
Non-strict equality against boolean: != false [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:453,0]
Non-strict equality against boolean: != false [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:768,0]
Non-strict equality against boolean: != false [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:775,0]
Non-strict equality against boolean: != false [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:775,0]
Dropping unused variable t4 [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:3885,0]
Condition left of && always true [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:4085,0]
Side effects in initialization of unused variable _setPluginRatio [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:3164,0]
Side effects in initialization of unused variable _parseToProxy [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:3238,0]
Non-strict equality against boolean: != false [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:6579,0]
Non-strict equality against boolean: != false [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:7583,0]
Non-strict equality against boolean: != false [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:7589,0]
Non-strict equality against boolean: != false [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:7589,0]
Dropping unused variable _blankArray [/Volumes/Nostromo/mozilla-code/internet-health-report/~/gsap/src/uncompressed/TweenMax.js:6033,0]
Condition always true [/Volumes/Nostromo/mozilla-code/internet-health-report/~/topojson/build/topojson.js:2,0]
[10:53:42] Compiled with webpack in 7.63 s
[10:53:42] Finished 'webpack:production' after 7.66 s
[10:53:42] Finished 'css' after 7.66 s
[10:53:42] Starting 'rev'...
[10:53:42] Starting 'rev-assets'...
[10:53:42] Finished 'rev-assets' after 8.26 ms
[10:53:42] Starting 'rev-update-references'...
[10:53:42] Finished 'rev-update-references' after 73 ms
[10:53:42] Starting 'rev-css'...
[10:53:42] Finished 'rev-css' after 5.47 ms
[10:53:42] Starting 'update-html'...
[10:53:45] Finished 'update-html' after 3.29 s
[10:53:45] Finished 'rev' after 3.38 s
[10:53:45] Starting 'size-report'...
┌─────────────────────────────────────────┬───────────┬───────────┐
│ File                                    │  Original │   Gzipped │
├─────────────────────────────────────────┼───────────┼───────────┤
│ index.html                              │   1.86 kB │     672 B │
├─────────────────────────────────────────┼───────────┼───────────┤
│ rev-manifest.json                       │     128 B │     105 B │
├─────────────────────────────────────────┼───────────┼───────────┤
│ fr/index.html                           │   1.86 kB │     675 B │
├─────────────────────────────────────────┼───────────┼───────────┤
│ javascripts/app-523fd882c9e373b114b5.js │ 437.52 kB │ 144.27 kB │
├─────────────────────────────────────────┼───────────┼───────────┤
│ stylesheets/app-fbcbf3c1d0.css          │   4.25 kB │   1.58 kB │
├─────────────────────────────────────────┼───────────┼───────────┤
│                                         │ 445.63 kB │ 147.29 kB │
└─────────────────────────────────────────┴───────────┴───────────┘
[10:53:46] Finished 'size-report' after 35 ms
[10:53:46] Starting 'static'...
[10:53:46] Finished 'static' after 18 ms
[10:53:46] Finished 'production' after 11 s

Hash: f4683f5fa2953dc3a97c
Version: webpack 1.13.2
Time: 10ms
webpack: bundle is now VALID.
20 09 2016 10:53:46.866:WARN [watcher]: Pattern "/Volumes/Nostromo/mozilla-code/internet-health-report/src/javascripts/**/__tests__/*" does not match any file.
20 09 2016 10:53:46.885:INFO [karma]: Karma v1.3.0 server started at http://localhost:9876/
20 09 2016 10:53:46.886:INFO [launcher]: Launching browser Chrome with unlimited concurrency
20 09 2016 10:53:46.891:INFO [launcher]: Starting browser Chrome
20 09 2016 10:53:47.753:INFO [Chrome 53.0.2785 (Mac OS X 10.11.6)]: Connected on socket /#eSXCUUTxyj-ZHdIyAAAA with id 72824237
     -_,------,
     -_|   /\_/\
     -^|__( - .-)
     -  ""  ""

     undefined total   undefined passed   undefined failed   undefined skipped

npm ERR! Test failed.  See above for more details.

CC: @cadecairos