Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
test: remove chakracore condition
Browse files Browse the repository at this point in the history
PR-URL: #473
Reviewed-By: Jack Horton <Jack.Horton@microsoft.com>
Reviewed-By: Seth Brenith <sethb@microsoft.com>
  • Loading branch information
kfarnung committed Feb 23, 2018
1 parent ddad39c commit 0aa918f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions test/parallel/test-promises-unhandled-proxy-rejections.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 0aa918f

Please sign in to comment.