[Pkg-javascript-devel] Bug#972414: node-pruddy-error: Please enable test

Xavier Guimard yadd at debian.org
Sun Oct 18 07:46:18 BST 2020


Package: node-pruddy-error
Version: 2.0.2-1
Severity: important
Tags: patch

Hi,

test is not enabled in this package, while it is easy to enable it:
 * `echo mocha >debian/tests/pkg-js/test`
 * install "assume" and "fn.name" in debian/tests/test_modules
   and update debian/copyright
 * update build dependencies:
   mocha <!nocheck>, node-deep-eql <!nocheck>, node-is-node <!nocheck>,
   node-object-inspect <!nocheck>, node-pathval <!nocheck>
 * fix test using a little patch:

   --- a/test.js
   +++ b/test.js
   @@ -45,7 +45,7 @@
          pruddy(fixture, {
            read: function read(data) {
              assume(data).is.a('object');
   -          assume(data.filename).contains('pruddy-error/test.js');
   +          //assume(data.filename).contains('pruddy-error/test.js');
              assume(data.line).equals(5);
              assume(data.col).equals(19);



More information about the Pkg-javascript-devel mailing list