aboutsummaryrefslogtreecommitdiff
path: root/test/logger.js
AgeCommit message (Collapse)AuthorFilesLines
2019-11-20ES6Nick Merwin1-12/+13
* remove unused variables * move `require`s at the top * check for prototype built-ins * run in strict mode * always check for error values in tests * make style consistent * mark Node.js 6 as the minimum supported version in package.json * Use the arrow return syntax * logger.js: use `Boolean` to make the intention clearer. * Use the rest params instead of arguments. * test/getOptions.js: beautify git data. * Update logger.js Remove `hasDebugEnvVariable` function; it's just a `process.env` check * Create .jshintrc
2018-05-01version bump; logger test fix3.0.1Nick Merwin1-3/+3
2015-12-10Modify tests to reflect minimist usageAnna Henningsen1-4/+4
The tests now modify the options object directly instead of modifying `process.argv` To allow using this tool with Coveralls Enterprise, I've added support in `sendToCoveralls` to read the host from a `COVERALLS_ENDPOINT` environment variable (if it exists), else default to coveralls.io (as before).
2014-07-03log at error level by default and only show others if --verbose switch is on.Gregg Caines1-4/+4
2013-12-05Added ability to turn on debug logging via environment variablemattjmorrison1-0/+21
For the grunt-karma-coveralls project, I need to be able to turn on debug level logging but without using `process.argv`. This will allow me to do so. This addresses this issue: https://github.com/mattjmorrison/grunt-karma-coveralls/issues/2 and can be fixed with this commit: https://github.com/mattjmorrison/grunt-karma-coveralls/commit/4bd6e2b58647dda4a6335fa6077334d8021e23c0
2013-06-22improved testing.cainus1-0/+11