Skip to content

Instantly share code, notes, and snippets.

@softcraft-development
Created September 2, 2016 23:06
Show Gist options
  • Save softcraft-development/b9c0459e65cbf6c8ee415757e562a377 to your computer and use it in GitHub Desktop.
Save softcraft-development/b9c0459e65cbf6c8ee415757e562a377 to your computer and use it in GitHub Desktop.
output of npm test for favicons-webpack-plugin
$ npm test
> favicons-webpack-plugin@0.0.7 test D:\projects\favicons-webpack-plugin
> ava
loudRejection/api is deprecated. Use the currently-unhandled module instead.
4 passed
3 failed
1. should work together with the html-webpack-plugin
t.is(diffFiles[0], undefined)
| |
| null
Object{"path1":"D:\\projects\\favicons-webpack-plugin\\dist\\test-2/icons-366a3768de05f9e78c392fa62b8fbb80","path2":null,relativePath:"/icons-366a3768de05f9e78c392fa62b8fbb80","name1":"android-chrome-256x256.png","name2":null,state:"left","type1":"file","type2":"missing",level:1,"size1":5115,"size2":null,"date1":#Object#,"date2":null}
rel === undefined
_callee6$ (index.js:93:5)
2. should generate a configured JSON file
t.is(diffFiles[0], undefined)
| |
| null
Object{"path1":"D:\\projects\\favicons-webpack-plugin\\dist\\test-1/icons-366a3768de05f9e78c392fa62b8fbb80","path2":null,relativePath:"/icons-366a3768de05f9e78c392fa62b8fbb80","name1":"android-chrome-256x256.png","name2":null,state:"left","type1":"file","type2":"missing",level:1,"size1":5115,"size2":null,"date1":#Object#,"date2":null}
rel === undefined
_callee5$ (index.js:76:5)
3. should generate the expected default result
t.is(diffFiles[0], undefined)
| |
| null
Object{"path1":"D:\\projects\\favicons-webpack-plugin\\dist\\test-0/icons-366a3768de05f9e78c392fa62b8fbb80","path2":"D:\\projects\\favicons-webpack-plugin\\test\\fixtures\\expected\\default/icons-366a3768de05f9e78c392fa62b8fbb80",relativePath:"/icons-366a3768de05f9e78c392fa62b8fbb80","name1":".cache","name2":".cache",state:"distinct","type1":"file","type2":"file",level:1,"size1":7478,"size2":7454,"date1":#Object#,"date2":#Object#}
path2: 'D://projects//f === undefined
_callee4$ (index.js:62:5)
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