aboutsummaryrefslogtreecommitdiff
path: root/test/sendToCoveralls.js
AgeCommit message (Collapse)AuthorFilesLines
2020-05-01tests: fix deprecation warning coming from `sinon.sandbox.create()`XhmikosR1-1/+1
Switch to the default sandbox.
2020-04-24Update sinon to v7.5.0. (#288)XhmikosR1-4/+4
Co-authored-by: Xavier <[email protected]>
2019-11-20ES6Nick Merwin1-31/+36
* 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
2015-12-10Modify tests to reflect minimist usageAnna Henningsen1-2/+3
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).
2015-12-10Remove unneccessary 'streams' require() in test caseAnna Henningsen1-1/+0
2015-12-10Add command line option to write output to stdoutAnna Henningsen1-2/+23
Adds the command line option pair -w/--write. These options indicate that the output should be written to standard output, rather than being posted to coveralls.io, which may be useful for debugging, mixed-language codebases (e.g. node addons with C++ code) etc.
2015-08-12Added support for process.env.COVERALLS_ENDPOINTAdam Meadows1-2/+29
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).
2013-06-08add some tests. version bump to 2.0.13.cainus1-0/+27