Tests failed
oriash93 opened this issue · 2 comments
oriash93 commented
$ npm test > cost-of-modules@1.0.1 test D:\Repositories\cost-of-modules > npm run build && npm run build-test && npm run ava > cost-of-modules@1.0.1 build D:\Repositories\cost-of-modules > babel src -d dist src\helpers.js -> dist\helpers.js src\index.js -> dist\index.js > cost-of-modules@1.0.1 build-test D:\Repositories\cost-of-modules > babel test/src -d test/dist test\src\0prod.js -> test\dist\0prod.js test\src\1dev.js -> test\dist\1dev.js test\src\fixtures\dev-test-data.js -> test\dist\fixtures\dev-test-data.js test\src\fixtures\helpers.js -> test\dist\fixtures\helpers.js test\src\fixtures\test-data.js -> test\dist\fixtures\test-data.js test\src\fixtures\tests.js -> test\dist\fixtures\tests.js > cost-of-modules@1.0.1 ava D:\Repositories\cost-of-modules > ava test/dist/*.js -s --no-cache --verbose Making sure dependencies are installed npm install --production npm WARN test@1.0.0 No repository field. up to date in 0.076s - 0prod » setup was complete × 0prod » get size for node_modules [ { name: '@siddharthkp/empty', size: 0 }, { name: 'camelcase', size: 4 }, { name: 'date-time', size: 3 }, { name: 'once', === [ { name: '@siddharthkp/empty', size: 1 }, { name: 'date-time', size: 4 }, { name: 'once', size: 5 }, { name: 'time-zone', √ 0prod » get root dependencies (989ms) √ 0prod » attach nested dependencies (1.1s) √ 0prod » get all dependencies - 0prod » show results Making sure dependencies are installed npm install npm WARN test@1.0.0 No repository field. up to date in 0.079s - 1dev » setup was complete × 1dev » get size for node_modules [ { name: '@siddharthkp/empty', size: 0 }, { name: 'camelcase', size: 4 }, { name: 'date-time', size: 3 }, { name: 'once', === [ { name: '@siddharthkp/empty', size: 1 }, { name: 'camelcase', size: 5 }, { name: 'date-time', size: 4 }, { name: 'once', √ 1dev » get root dependencies (1s) √ 1dev » attach nested dependencies (987ms) √ 1dev » get all dependencies - 1dev » show results 2 tests failed [10:42:38] 4 tests todo 1. 0prod » get size for node_modules AssertionError: [ { name: '@siddharthkp/empty', size: 0 }, { name: 'time-zone', Test.fn (fixtures/tests.js:41:11) _combinedTickCallback (internal/process/next_tick.js:141:11) process._tickCallback (internal/process/next_tick.js:180:9) 2. 1dev » get size for node_modules AssertionError: [ { name: '@siddharthkp/empty', size: 0 }, { name: 'once', Test.fn (fixtures/tests.js:41:11) _combinedTickCallback (internal/process/next_tick.js:141:11) process._tickCallback (internal/process/next_tick.js:180:9) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! cost-of-modules@1.0.1 ava: `ava test/dist/*.js -s --no-cache --verbose` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the cost-of-modules@1.0.1 ava script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\orias\AppData\Roaming\npm-cache\_logs\2017-12-23T08_42_38_361Z-debug.log npm ERR! Test failed. See above for more details.
you can find the complete debug log here
siddharthkp commented
Thanks for taking the time to report this!
Would you like to dive in deeper and debug this?
oriash93 commented
I updated the issue after running ava with --verbose, also added the complete debug log.
Will try to look into that