From cc45d872c7c828417220f6059bf156e772a8e23f Mon Sep 17 00:00:00 2001 From: Paulo Castro Date: Wed, 9 Oct 2019 22:32:26 +0100 Subject: [PATCH] Update CLI tests to pass with Node 12 Change-type: patch Signed-off-by: Paulo Castro --- tests/helpers.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/helpers.ts b/tests/helpers.ts index 4a69fdd6..413801c4 100644 --- a/tests/helpers.ts +++ b/tests/helpers.ts @@ -40,7 +40,9 @@ export const runCommand = async (cmd: string) => { !log.startsWith('[debug]') && // TODO stop this warning message from appearing when running // sdk.setSharedOptions multiple times in the same process - !log.startsWith('Shared SDK options') + !log.startsWith('Shared SDK options') && + // Node 12: '[DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated' + !log.includes('[DEP0066]') ) { err.push(log); }