custom-result.js
This file
Path
test/fixtures/nested/custom-result.js
3 lines · 167 bytes · JavaScript
Last changed by
Allow `verbose` option to be a function for custom logging (#1130)ehmickybefore adoption8daf348
History of this filetest/fixtures/nested/custom-result.js
3 lines · 167 bytes · JavaScript
Allow `verbose` option to be a function for custom logging (#1130) · ehmicky · before adoption · 8daf348 ·
History of this file3 lines · 167 bytes · JavaScript
Allow `verbose` option to be a function for custom logging (#1130) · ehmicky · before adoption · 8daf348 ·
lines 1–3why, one step back1export const getOptions = ({type}) => ({2 verbose: (verboseLine, verboseObject) => verboseObject.type === type ? JSON.stringify(verboseObject.result) : undefined,3});