Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions test/message/assert_throws_stack.chakracore.out
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
assert.js:*
compareExceptionKey(actual, expected, key, msg);
compareExceptionKey(actual, expected, key, msg, keys);
^

AssertionError [ERR_ASSERTION]: bar: expected true, not undefined
at Anonymous function (*assert_throws_stack.js:*:*)
AssertionError [ERR_ASSERTION]: Input A expected to deepStrictEqual input B:
+ expected - actual

- Comparison {}
+ Comparison {
+ bar: true
+ }
at Anonymous function (*assert_throws_stack.js:*)
at *
at *
at *
at *
4 changes: 0 additions & 4 deletions test/message/assert_throws_stack.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,4 @@
require('../common');
const assert = require('assert').strict;

// Temporarily disabled on chakra.
const common = require('../common');
if (!common.isChakraEngine) {
assert.throws(() => { throw new Error('foo'); }, { bar: true });
}