mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01: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>
8 lines
137 B
JavaScript
8 lines
137 B
JavaScript
// Flags: --no-extra-info-on-fatal-exception
|
|
|
|
'use strict';
|
|
require('../../common');
|
|
Error.stackTraceLimit = 1;
|
|
|
|
throw new Error('foo');
|