mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +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>
23 lines
444 B
JavaScript
23 lines
444 B
JavaScript
'use strict';
|
|
require('../common');
|
|
Error.stackTraceLimit = 5;
|
|
|
|
process.setSourceMapsEnabled(true);
|
|
|
|
try {
|
|
require('../fixtures/source-map/enclosing-call-site-min.js');
|
|
} catch (e) {
|
|
console.log(e);
|
|
}
|
|
|
|
delete require.cache[require
|
|
.resolve('../fixtures/source-map/enclosing-call-site-min.js')];
|
|
|
|
process.setSourceMapsEnabled(false);
|
|
|
|
try {
|
|
require('../fixtures/source-map/enclosing-call-site-min.js');
|
|
} catch (e) {
|
|
console.log(e);
|
|
}
|