From 37e731940bccd2d8c001b5b69e2229d09cd057d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Fri, 2 Nov 2018 18:45:48 +0100 Subject: [PATCH] Support Node.js 10 --- test/integration/client/deprecation-tests.js | 1 + 1 file changed, 1 insertion(+) 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') })