TAP version 13 not ok 1 - request-promise v4.2.2 The canary is dead: ---
# > publish-please@2.1.4 postinstall /tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/publish-please
# > node lib/init.js
# > request-promise@4.2.2 prepublish /tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise
# > publish-please guard
# added 726 packages from 807 contributors and audited 2680 packages in 100.064s
# found 58 vulnerabilities (20 low, 23 moderate, 14 high, 1 critical)
# run `npm audit fix` to fix them, or `npm audit` for details
# > request-promise@4.2.2 test /tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise
# > gulp ci
# [01:50:55] Using gulpfile /tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/gulpfile.js
# [01:50:55] Starting 'ci'...
# [01:50:55] Starting 'validate'...
# [01:50:55] Starting 'lint'...
# [01:50:56] Finished 'lint' after 906 ms
# [01:50:56] Starting 'clean-coverage'...
# [01:50:56] Finished 'clean-coverage' after 7.2 ms
# [01:50:56] Starting 'clean'...
# [01:50:56] Finished 'clean' after 25 s
# [01:50:56] Starting 'test'...
# Request-Promise
# should inform about the dropped CLS support
# should not resolve the promise if .abort() is used (115ms)
# 1) should allow the use of tough-cookie - issue
#183
# should expose
# .then(...) (141ms)
# .catch(...) and the error types
# .finally(...)
# .promise() returning a Bluebird promise
# .cancel() cancelling the Bluebird promise and aborting the request
# .cancel() on promises chained from the Bluebird promise, aborting the request
# should still allow to require Request independently
# by not interfering with Request required afterwards (755ms)
# by not interfering with Request required beforehand (776ms)
# by not interfering with Request required beforehand and afterwards being identical (610ms)
# 11 passing (3s)
# 1 failing
# 1) Request-Promise should allow the use of tough-cookie - issue
#183:
# AssertionError: expected [Function] to not throw an error but 'TypeError: str.trim is not a function' was thrown
# at Context. (test/spec/request-test.js:212:24)
# [01:50:59] 'test' errored after 3.06 s
# [01:50:59] Error: TESTS FAILED
# at Stream. (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/gulpfile.js:82:26)
# at emitOne (events.js:121:20)
# at Stream.emit (events.js:211:7)
# at /tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/gulp-mocha/index.js:60:12
# at done (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/mocha.js:498:13)
# at Runner. (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:799:5)
# at emitNone (events.js:111:20)
# at Runner.emit (events.js:208:7)
# at /tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:786:12
# at /tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:639:9
# at next (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:284:14)
# at Immediate. (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:320:5)
# at runCallback (timers.js:810:20)
# at tryOnImmediate (timers.js:768:5)
# at processImmediate [as _immediateCallback] (timers.js:745:5)
# [01:50:59] 'ci' errored after 3.98 s
# [01:50:59] Error in plugin 'run-sequence(test)'
# Message:
# TESTS FAILED
# Stack:
# Error: TESTS FAILED
# at Stream. (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/gulpfile.js:82:26)
# at emitOne (events.js:121:20)
# at Stream.emit (events.js:211:7)
# at /tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/gulp-mocha/index.js:60:12
# at done (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/mocha.js:498:13)
# at Runner. (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:799:5)
# at emitNone (events.js:111:20)
# at Runner.emit (events.js:208:7)
# at /tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:786:12
# at /tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:639:9
# at next (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:284:14)
# at Immediate. (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:320:5)
# at runCallback (timers.js:810:20)
# at tryOnImmediate (timers.js:768:5)
# at processImmediate [as _immediateCallback] (timers.js:745:5)
# [01:50:59] 'validate' errored after 3.98 s
# [01:50:59] Error in plugin 'run-sequence(ci)'
# Message:
# TESTS FAILED
# Stack:
# Error: TESTS FAILED
# at Stream. (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/gulpfile.js:82:26)
# at emitOne (events.js:121:20)
# at Stream.emit (events.js:211:7)
# at /tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/gulp-mocha/index.js:60:12
# at done (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/mocha.js:498:13)
# at Runner. (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:799:5)
# at emitNone (events.js:111:20)
# at Runner.emit (events.js:208:7)
# at /tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:786:12
# at /tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:639:9
# at next (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:284:14)
# at Immediate. (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:320:5)
# at runCallback (timers.js:810:20)
# at tryOnImmediate (timers.js:768:5)
# at processImmediate [as _immediateCallback] (timers.js:745:5)
# [01:50:59] 'validate' errored after 3.98 s
# [01:50:59] Error in plugin 'run-sequence(test)'
# Message:
# TESTS FAILED
# Stack:
# Error: TESTS FAILED
# at Stream. (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/gulpfile.js:82:26)
# at emitOne (events.js:121:20)
# at Stream.emit (events.js:211:7)
# at /tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/gulp-mocha/index.js:60:12
# at done (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/mocha.js:498:13)
# at Runner. (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:799:5)
# at emitNone (events.js:111:20)
# at Runner.emit (events.js:208:7)
# at /tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:786:12
# at /tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:639:9
# at next (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:284:14)
# at Immediate. (/tmp/d60d3d11-8a5b-448c-aa66-9a46db5fd2c3/request-promise/node_modules/mocha/lib/runner.js:320:5)
# at runCallback (timers.js:810:20)
# at tryOnImmediate (timers.js:768:5)
# at processImmediate [as _immediateCallback] (timers.js:745:5)
# Error in plugin 'gulp-mocha'
# Message:
# 1 test failed.
# TESTS FAILED
# npm ERR! Test failed. See above for more details. duration_ms: 114257 ... 1..1