[Pkg-javascript-devel] [RFS] -- node-boom
Pirate Praveen
praveen at onenetbeyond.org
Mon Sep 27 19:07:03 BST 2021
On തി, സെപ്റ്റം 27 2021 at 04:35:44 വൈകു
+0100 +0100, 'Tunji <ajayiolatunjiolaide at gmail.com> wrote:
> Hi there,
>
> I earlier updated the node module node-boom from version 9.1.0+~2.0.0
> to 9.1.2+~2.0.0 to be available in experimental, now I have revised
> it to enable auto package test and to be available in unstable. The
> package is available at
> https://salsa.debian.org/thegodtune/node-boom and I am requesting
> that you kindly check if it is clean and fit for sponsorship.
This makes the autopkgtest to pass. But the ideal way is to test
node-hapi-bounce can be found from the installed location and not from
the source tree.
So you can run conditional tests, the current tests are good for build
time tests. For autopkgtest, you can add a condition
if AUTOPKGTEST_TMP variable is defined, then run require ("boom") and
require("node-hapi-bounce"). Or even better just use the
autopkgtest-pkg-js option which will test these automatically.
See
https://wiki.debian.org/Javascript/Tutorial#Switch_test_and_install_to_pkg-js-tools
More information about the Pkg-javascript-devel
mailing list