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>
13 lines
234 B
JavaScript
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);
|
|
}
|