From 0aa918fdba5d863f0a74567593aa76ca6d4ab0ec Mon Sep 17 00:00:00 2001 From: Kyle Farnung Date: Thu, 22 Feb 2018 18:29:49 -0800 Subject: [PATCH] test: remove chakracore condition PR-URL: https://github.com/nodejs/node-chakracore/pull/473 Reviewed-By: Jack Horton Reviewed-By: Seth Brenith --- .../test-promises-unhandled-proxy-rejections.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/test/parallel/test-promises-unhandled-proxy-rejections.js b/test/parallel/test-promises-unhandled-proxy-rejections.js index f767961ecf9..f632857d637 100644 --- a/test/parallel/test-promises-unhandled-proxy-rejections.js +++ b/test/parallel/test-promises-unhandled-proxy-rejections.js @@ -32,12 +32,10 @@ const thorny = new Proxy({}, { construct: throwErr }); -if (!common.isChakraEngine) { - common.expectWarning({ - DeprecationWarning: expectedDeprecationWarning, - UnhandledPromiseRejectionWarning: expectedPromiseWarning, - }); -} +common.expectWarning({ + DeprecationWarning: expectedDeprecationWarning, + UnhandledPromiseRejectionWarning: expectedPromiseWarning, +}); // ensure this doesn't crash Promise.reject(thorny);