node/test/fixtures/errors/throw_in_eval_named.js
Antoine du Hamel caf478b72e
tools: enable linter in test/fixtures/errors
PR-URL: https://github.com/nodejs/node/pull/57701
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
2025-04-04 15:41:48 +02:00

9 lines
151 B
JavaScript

'use strict';
require('../../common');
Error.stackTraceLimit = 1;
eval(`
throw new Error('error in named script');
//# sourceURL=evalscript.js`);