Le 08/11/2020 à 23:50, Sudip Mukherjee a écrit : > 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.
Hi, you're right, it's just a "syntax check", that's why such autopkgtest are tagged as "superficial". Note that some package not reviewed since 2 years may have a "require" test not tagged as superficial. Cheers, Xavier