mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Migrate the remaining error tests in the `test/message` folder from Python to JS. Fixes: https://github.com/nodejs/node/issues/47707 PR-URL: https://github.com/nodejs/node/pull/49721 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
14 lines
384 B
Plaintext
14 lines
384 B
Plaintext
before
|
|
evalmachine.<anonymous>:*
|
|
Error.stackTraceLimit = 5; foo.bar = 5;
|
|
^
|
|
|
|
ReferenceError: foo is not defined
|
|
at evalmachine.<anonymous>:*:*
|
|
at Script.runInContext (node:vm:*:*)
|
|
at Script.runInNewContext (node:vm:*:*)
|
|
at Object.runInNewContext (node:vm:*:*)
|
|
at Object.<anonymous> (*undefined_reference_in_new_context.js:*:*)
|
|
|
|
Node.js *
|