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

2022-02-24 Thread Yadd

On 24/02/2022 18:02, Jonas Smedegaard wrote:

Quoting Yadd (2022-02-24 17:54:15)

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.


Thanks!



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


I fail to locate the word "SKIP" anywhere in
/usr/share/doc/pkg-js-tools/README.md.gz

Am I looking the wrong place, or it this (literally) an undocumentated
feature?


Yes, wrong place. Bugs is not in pkg-js-tools but pkg-js-autopkgtest. 
Note also that you have now manpages. See pkg-js-autopkgtest(7) ;-)


Thanks for the report!

Cheers,
Yadd

--
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel


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

2022-02-24 Thread Jonas Smedegaard
Quoting Yadd (2022-02-24 17:54:15)
> 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.

Thanks!


> 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

I fail to locate the word "SKIP" anywhere in
/usr/share/doc/pkg-js-tools/README.md.gz

Am I looking the wrong place, or it this (literally) an undocumentated 
feature?


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel