TAP version 13 not ok 1 - request-promise v4.2.2 The canary is dead: ---
# > publish-please@2.1.4 postinstall /tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/publish-please
# > node lib/init.js
# > request-promise@4.2.2 prepublish /tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise
# > publish-please guard
# added 726 packages from 807 contributors and audited 2680 packages in 56.107s
# 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/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise
# > gulp ci
# [00:53:28] Using gulpfile /tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/gulpfile.js
# [00:53:28] Starting 'ci'...
# [00:53:28] Starting 'validate'...
# [00:53:28] Starting 'lint'...
# [00:53:29] Finished 'lint' after 789 ms
# [00:53:29] Starting 'clean-coverage'...
# [00:53:29] Finished 'clean-coverage' after 5.82 ms
# [00:53:29] Starting 'clean'...
# [00:53:29] Finished 'clean' after 30 s
# [00:53:29] Starting 'test'...
# Request-Promise
# should inform about the dropped CLS support
# should not resolve the promise if .abort() is used (111ms)
# 1) should allow the use of tough-cookie - issue
#183
# should expose
# .then(...) (70ms)
# .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 (777ms)
# by not interfering with Request required beforehand (692ms)
# by not interfering with Request required beforehand and afterwards being identical (630ms)
# 11 passing (2s)
# 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)
# at process.topLevelDomainCallback (domain.js:121:23)
# [00:53:32] 'test' errored after 2.78 s
# [00:53:32] Error: TESTS FAILED
# at Stream. (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/gulpfile.js:82:26)
# at Stream.emit (events.js:187:15)
# at Stream.EventEmitter.emit (domain.js:442:20)
# at /tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/gulp-mocha/index.js:60:12
# at done (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/mocha.js:498:13)
# at Runner. (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:799:5)
# at Runner.emit (events.js:187:15)
# at Runner.EventEmitter.emit (domain.js:442:20)
# at /tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:786:12
# at /tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:639:9
# at next (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:284:14)
# at Immediate._onImmediate (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:320:5)
# at runCallback (timers.js:705:18)
# at tryOnImmediate (timers.js:676:5)
# at processImmediate (timers.js:658:5)
# at process.topLevelDomainCallback (domain.js:121:23)
# [00:53:32] 'ci' errored after 3.59 s
# [00:53:32] Error in plugin 'run-sequence(test)'
# Message:
# TESTS FAILED
# Stack:
# Error: TESTS FAILED
# at Stream. (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/gulpfile.js:82:26)
# at Stream.emit (events.js:187:15)
# at Stream.EventEmitter.emit (domain.js:442:20)
# at /tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/gulp-mocha/index.js:60:12
# at done (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/mocha.js:498:13)
# at Runner. (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:799:5)
# at Runner.emit (events.js:187:15)
# at Runner.EventEmitter.emit (domain.js:442:20)
# at /tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:786:12
# at /tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:639:9
# at next (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:284:14)
# at Immediate._onImmediate (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:320:5)
# at runCallback (timers.js:705:18)
# at tryOnImmediate (timers.js:676:5)
# at processImmediate (timers.js:658:5)
# at process.topLevelDomainCallback (domain.js:121:23)
# [00:53:32] 'validate' errored after 3.6 s
# [00:53:32] Error in plugin 'run-sequence(ci)'
# Message:
# TESTS FAILED
# Stack:
# Error: TESTS FAILED
# at Stream. (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/gulpfile.js:82:26)
# at Stream.emit (events.js:187:15)
# at Stream.EventEmitter.emit (domain.js:442:20)
# at /tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/gulp-mocha/index.js:60:12
# at done (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/mocha.js:498:13)
# at Runner. (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:799:5)
# at Runner.emit (events.js:187:15)
# at Runner.EventEmitter.emit (domain.js:442:20)
# at /tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:786:12
# at /tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:639:9
# at next (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:284:14)
# at Immediate._onImmediate (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:320:5)
# at runCallback (timers.js:705:18)
# at tryOnImmediate (timers.js:676:5)
# at processImmediate (timers.js:658:5)
# at process.topLevelDomainCallback (domain.js:121:23)
# [00:53:32] 'validate' errored after 3.6 s
# [00:53:32] Error in plugin 'run-sequence(test)'
# Message:
# TESTS FAILED
# Stack:
# Error: TESTS FAILED
# at Stream. (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/gulpfile.js:82:26)
# at Stream.emit (events.js:187:15)
# at Stream.EventEmitter.emit (domain.js:442:20)
# at /tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/gulp-mocha/index.js:60:12
# at done (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/mocha.js:498:13)
# at Runner. (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:799:5)
# at Runner.emit (events.js:187:15)
# at Runner.EventEmitter.emit (domain.js:442:20)
# at /tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:786:12
# at /tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:639:9
# at next (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:284:14)
# at Immediate._onImmediate (/tmp/2596e58b-2e2b-480a-bcb3-80c7950c806e/request-promise/node_modules/mocha/lib/runner.js:320:5)
# at runCallback (timers.js:705:18)
# at tryOnImmediate (timers.js:676:5)
# at processImmediate (timers.js:658:5)
# at process.topLevelDomainCallback (domain.js:121:23)
# Error in plugin 'gulp-mocha'
# Message:
# 1 test failed.
# TESTS FAILED
# npm ERR! Test failed. See above for more details. duration_ms: 68888 ... 1..1