Addresses the issue described in #15. In short, hubot-test-helper v1.8.0 depends on hubot-v3.0.0, both are rewrites from CoffeeScript to ES2015, and consequently hubot-slack adds Robot.react to a CoffeeScript-compatible wrapper function, leading to smoke and integration test failures.
The implementation of slackapi/hubot-slack#429 (CoffeeScript-to-ES2015 rewrite) should include a fix that will eliminate the need for this workaround.
Also adds a callback to fix the DeprecationWarning that Node.js started emitting from tests/integration-test.js:
(node:85642) [DEP0013] DeprecationWarning: Calling an asynchronous
function without callback is deprecated.
Addresses the issue described in #15. In short, hubot-test-helper v1.8.0 depends on hubot-v3.0.0, both are rewrites from CoffeeScript to ES2015, and consequently hubot-slack adds Robot.react to a CoffeeScript-compatible wrapper function, leading to smoke and integration test failures.
The implementation of slackapi/hubot-slack#429 (CoffeeScript-to-ES2015 rewrite) should include a fix that will eliminate the need for this workaround.
Also adds a callback to fix the
DeprecationWarning
that Node.js started emitting fromtests/integration-test.js
:By following the process event warning instructions in the Node.js API docs, I was able to emit the stack trace pinpointing the
fs.write
call as the offender.