Source: node-require-from-string Version: 2.0.1-1 Severity: serious Tags: ftbfs Control: close -1 2.0.2-1
https://tests.reproducible-builds.org/debian/rb-pkg/buster/amd64/node-require-from-string.html ... debian/rules override_dh_auto_test make[1]: Entering directory '/build/node-require-from-string-2.0.1' mocha -R spec ✓ should accept only string as code ✓ should require from string 1) should accept filename ✓ should work with relative require in file ✓ should have appended and preppended paths 2) should have meaningful error message ✓ should cleanup parent.children 5 passing (23ms) 2 failing 1) should accept filename: bug.js:1 module.exports = ^ SyntaxError: Unexpected end of input at Module._compile (internal/modules/cjs/loader.js:723:23) at requireFromString (index.js:28:4) at test/index.js:22:3 at getActual (assert.js:567:5) at Function.throws (assert.js:679:24) at Context.<anonymous> (test/index.js:21:9) at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21) at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7) at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10) at /usr/lib/nodejs/mocha/lib/runner.js:560:12 at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14) at /usr/lib/nodejs/mocha/lib/runner.js:366:7 at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14) at Immediate._onImmediate (/usr/lib/nodejs/mocha/lib/runner.js:334:5) 2) should have meaningful error message: AssertionError [ERR_ASSERTION]: should contain (<anonymous>:1:69) in stack + expected - actual -false +true at Context.<anonymous> (test/index.js:52:10) at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21) at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7) at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10) at /usr/lib/nodejs/mocha/lib/runner.js:560:12 at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14) at /usr/lib/nodejs/mocha/lib/runner.js:366:7 at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14) at Immediate._onImmediate (/usr/lib/nodejs/mocha/lib/runner.js:334:5) make[1]: *** [debian/rules:13: override_dh_auto_test] Error 2