mirror of https://github.com/nodejs/node.git
39 lines
704 B
Plaintext
39 lines
704 B
Plaintext
node:assert:*
|
|
throw err;
|
|
^
|
|
|
|
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
|
+ actual - expected
|
|
|
|
+ Comparison {}
|
|
- Comparison {
|
|
- bar: true
|
|
- }
|
|
at Object.<anonymous> (*assert_throws_stack.js:*:*)
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at * {
|
|
generatedMessage: true,
|
|
code: 'ERR_ASSERTION',
|
|
actual: Error: foo
|
|
at assert.throws.bar (*assert_throws_stack.js:*)
|
|
at getActual (node:assert:*)
|
|
at Function.throws (node:assert:*)
|
|
at Object.<anonymous> (*assert_throws_stack.js:*:*)
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *,
|
|
expected: { bar: true },
|
|
operator: 'throws'
|
|
}
|
|
|
|
Node.js *
|