<html><head></head><body>Hi,<br><br>Yes, do it, thanks!<br><br>Cheers,<br>Xavier<br><br><br><div class="gmail_quote">Le 9 novembre 2020 22:08:46 GMT+01:00, Sudip Mukherjee <sudipm.mukherjee@gmail.com> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre dir="auto" class="k9mail">Hi Utkarsh and Xavier,<br><br>On Mon, Nov 9, 2020 at 5:08 AM Utkarsh Gupta <utkarsh@debian.org> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><br> Hi Sudip,<br><br> On Mon, Nov 9, 2020 at 4:21 AM Sudip Mukherjee<br> <sudipm.mukherjee@gmail.com> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> While going through packages to find autopkgtests which are<br> superficial I noticed that some of of the javascript packages are<br> doing just:<br> nodejs -e "require('foo.js');"<br><br> After reading the documentation at [1], it seems that it will just<br> load the object in cache so that the exported properties and methods<br> of the object can be used in the code.<br> Can you please confirm if my understanding is correct and the tests<br> are indeed superficial in nature as it is just loading the object and<br> not actually using any of the exported methods or properties.<br></blockquote><br> You're indeed correct and these are just superficial test which just<br> helps in the preliminary check that things are in order (syntax wise<br> and that the module can be used and loaded).<br> From what I remember, most of these (at least from a bunch of those<br> that I have touched) are already marked as superficial. In case we can<br> get a list of tests that aren't yet superficial, fixing them should be<br> trivial! :)<br><br> Thanks for all your work on this! \o/<br></blockquote><br>Thanks to both of you for the confirmation. I have attached the list.<br>Do you want me to add them in my MBF list and raise bug reports for<br>them?<br><br><br><div class="k9mail-signature">-- <br>Regards<br>Sudip<br></div></pre></blockquote></div><br><div class='k9mail-signature'>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</div></body></html>