mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 22:56:29 +02:00
38 lines
350 B
JavaScript
38 lines
350 B
JavaScript
/* eslint-env node */
|
|
// dummy lines to make sure exception line number is well below parent test script
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
|
|
|
|
function myfunc() {
|
|
throw new Error('exception on line 32 in myfunc');
|
|
}
|
|
module.exports = myfunc;
|
|
if (Script[module.filename] === 'throw') {
|
|
myfunc();
|
|
}
|