node/test/fixtures/source-map/output/source_map_sourcemapping_url_string.js
Yiyun Lei 9cd70f4c0e
test: migrate message source map tests from Python to JS
Migrate the remaining source map tests in the `test/message` folder
from Python to JS.

Fixes: https://github.com/nodejs/node/issues/47707

test: migrate message source map tests from Python to JS
PR-URL: https://github.com/nodejs/node/pull/49238
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
2023-08-29 10:36:23 +00:00

13 lines
234 B
JavaScript

// Flags: --enable-source-maps
'use strict';
require('../../../common');
Error.stackTraceLimit = 2;
try {
require('../typescript-sourcemapping_url_string');
} catch (err) {
setTimeout(() => {
console.info(err);
}, 10);
}