[Pkg-javascript-devel] Bug#1006378: Bug#1006378: Bug#1006378: Bug#1006378: pkg-js-tools: pkg-js-autopkgtest-require fails with type=module without default export

Yadd yadd at debian.org
Thu Feb 24 16:54:15 GMT 2022


On 24/02/2022 17:43, Yadd wrote:
> On 24/02/2022 17:31, Yadd wrote:
>> I'm going to fix this
> 
> Sorry, my explanation was for a previous fix with "nodepath". Fixed in 
> 0.12.10 with a real check.

Note that "require" test is a best-effort test. You can disable it for a 
specific module in debian/tests/pkg-js/require-SKIP or disable globally 
require test using:

   echo require > debian/nodejs/pkg-js/SKIP

Then only real test will be launched. This is useful for 
not-really-nodejs modules. See node-grunt-webpack for example



More information about the Pkg-javascript-devel mailing list