TAP version 13 not ok 1 - request-promise v4.2.2 The canary is dead: ---
# > publish-please@2.1.4 postinstall /private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/publish-please
# > node lib/init.js
# > request-promise@4.2.2 prepublish /private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise
# > publish-please guard
# added 726 packages in 420.752s
# > request-promise@4.2.2 test /private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise
# > gulp ci
# [07:50:37] Using gulpfile /private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/gulpfile.js
# [07:50:37] Starting 'ci'...
# [07:50:37] Starting 'validate'...
# [07:50:37] Starting 'lint'...
# [07:50:38] Finished 'lint' after 775 ms
# [07:50:38] Starting 'clean-coverage'...
# [07:50:38] Finished 'clean-coverage' after 3.7 ms
# [07:50:38] Starting 'clean'...
# [07:50:38] Finished 'clean' after 29 s
# [07:50:38] Starting 'test'...
# Request-Promise
# should inform about the dropped CLS support
# should not resolve the promise if .abort() is used (112ms)
# 1) should allow the use of tough-cookie - issue
#183
# should expose
# .then(...) (60ms)
# .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 (526ms)
# by not interfering with Request required beforehand (522ms)
# by not interfering with Request required beforehand and afterwards being identical (496ms)
# 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)
# [07:50:40] 'test' errored after 2.11 s
# [07:50:40] Error: TESTS FAILED
# at Stream. (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/gulpfile.js:82:26)
# at emitOne (events.js:121:20)
# at Stream.emit (events.js:211:7)
# at /private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/gulp-mocha/index.js:60:12
# at done (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/mocha.js:498:13)
# at Runner. (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/runner.js:799:5)
# at emitNone (events.js:111:20)
# at Runner.emit (events.js:208:7)
# at /private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/runner.js:786:12
# at /private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/runner.js:639:9
# at next (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/runner.js:284:14)
# at Immediate. (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/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)
# [07:50:40] 'ci' errored after 2.89 s
# [07:50:40] Error in plugin 'run-sequence(test)'
# Message:
# TESTS FAILED
# Stack:
# Error: TESTS FAILED
# at Stream. (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/gulpfile.js:82:26)
# at emitOne (events.js:121:20)
# at Stream.emit (events.js:211:7)
# at /private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/gulp-mocha/index.js:60:12
# at done (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/mocha.js:498:13)
# at Runner. (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/runner.js:799:5)
# at emitNone (events.js:111:20)
# at Runner.emit (events.js:208:7)
# at /private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/runner.js:786:12
# at /private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/runner.js:639:9
# at next (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/runner.js:284:14)
# at Immediate. (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/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)
# [07:50:40] 'validate' errored after 2.89 s
# [07:50:40] Error in plugin 'run-sequence(ci)'
# Message:
# TESTS FAILED
# Stack:
# Error: TESTS FAILED
# at Stream. (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/gulpfile.js:82:26)
# at emitOne (events.js:121:20)
# at Stream.emit (events.js:211:7)
# at /private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/gulp-mocha/index.js:60:12
# at done (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/mocha.js:498:13)
# at Runner. (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/runner.js:799:5)
# at emitNone (events.js:111:20)
# at Runner.emit (events.js:208:7)
# at /private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/runner.js:786:12
# at /private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/runner.js:639:9
# at next (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/runner.js:284:14)
# at Immediate. (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/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)
# [07:50:40] 'validate' errored after 2.89 s
# [07:50:40] Error in plugin 'run-sequence(test)'
# Message:
# TESTS FAILED
# Stack:
# Error: TESTS FAILED
# at Stream. (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/gulpfile.js:82:26)
# at emitOne (events.js:121:20)
# at Stream.emit (events.js:211:7)
# at /private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/gulp-mocha/index.js:60:12
# at done (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/mocha.js:498:13)
# at Runner. (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/runner.js:799:5)
# at emitNone (events.js:111:20)
# at Runner.emit (events.js:208:7)
# at /private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/runner.js:786:12
# at /private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/runner.js:639:9
# at next (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/request-promise/node_modules/mocha/lib/runner.js:284:14)
# at Immediate. (/private/var/folders/c6/w26wd_553cd6bnqkr8vj6fym000lj1/T/383724bb-130b-45f6-99bb-fea4b2b7c031/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: 432898 ... 1..1