mirror of
https://github.com/nodejs/node.git
synced 2025-05-02 03:31:35 +00:00

PR-URL: https://github.com/nodejs/node/pull/44197 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Michaël Zasso <targos@protonmail.com>
14 lines
229 B
JavaScript
14 lines
229 B
JavaScript
// Flags: --enable-source-maps
|
|
|
|
'use strict';
|
|
require('../common');
|
|
Error.stackTraceLimit = 2;
|
|
|
|
try {
|
|
require('../fixtures/source-map/typescript-throw');
|
|
} catch (err) {
|
|
setTimeout(() => {
|
|
console.info(err);
|
|
}, 10);
|
|
}
|