[Pkg-javascript-devel] doubt with autopkgtest for javascript packages
Sudip Mukherjee
sudipm.mukherjee at gmail.com
Sun Nov 8 22:50:24 GMT 2020
Dear Javascript Maintainers,
While going through packages to find autopkgtests which are
superficial I noticed that some of of the javascript packages are
doing just:
nodejs -e "require('foo.js');"
After reading the documentation at [1], it seems that it will just
load the object in cache so that the exported properties and methods
of the object can be used in the code.
Can you please confirm if my understanding is correct and the tests
are indeed superficial in nature as it is just loading the object and
not actually using any of the exported methods or properties. The
details about superficial autopkgtest can be seen at [2]. Since, I
don't know anything about nodejs so I have not included these packages
in my MBF mail and instead mailing you for confirmation.
[1]. https://nodejs.org/en/knowledge/getting-started/what-is-require/
[2]. https://salsa.debian.org/ci-team/autopkgtest/-/blob/master/doc/README.package-tests.rst
--
Regards
Sudip
More information about the Pkg-javascript-devel
mailing list