diff --git a/test/integration/client/deprecation-tests.js b/test/integration/client/deprecation-tests.js index 21decc4..41a1e32 100644 --- a/test/integration/client/deprecation-tests.js +++ b/test/integration/client/deprecation-tests.js @@ -2,6 +2,7 @@ var helper = require('./test-helper') process.on('warning', function (warning) { console.log(warning) + if (warning.message.startsWith('Buffer() is deprecated')) return throw new Error('Should not emit deprecation warning') })