test: Migrate message error tests from Python to JS - #49738
Conversation
|
@MoLow, Committed, Thank you |
2a47489 to
6e8d588
Compare
|
@MoLow Hello, Thanks for reviewing, I committed some changes |
| at assert.throws.bar (*assert_throws_stack.js:*) | ||
| at getActual (node:assert:*) | ||
| at Function.throws (node:assert:*) | ||
| at Object.<anonymous> (*assert_throws_stack.js:*:*) |
There was a problem hiding this comment.
Isn't the test checking exactly for this stack?
There was a problem hiding this comment.
the test should check for it exactly ?, current test generates:
at * {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: Error: foo
at *
at *
at *
at *
at *
at *
at *
at *
at *
at node:internal*main*run_main_module**,
expected: { bar: true },
operator: 'throws'
}
There was a problem hiding this comment.
Any idea or suggestions to close this PR ?
There was a problem hiding this comment.
maybe add another trasnform function to make this snapshot similar to the original one?
|
This needs a rebase to solve the git conflicts. |
|
This pull request has been marked as stale due to 90 days of inactivity. |
No description provided.