In Ubuntu 18.04, running autopkgtest on the patched source package appears not to execute tests.
[Download the source package from the PPA]
$ dpkg-source -x node-moment_2.20.1+ds-1ubuntu0.1.dsc
$ cd node-moment-2.20.1+ds
$ debuild -us -uc
[If there are unmet build dependencies and/or conflicts, install them (or resolve in the case of conflicts) and repeat]
$ cd min
$ sed -Ei '1ivar QUnit = require("qunit");' tests.js
$ node tests.js
[No output means tests pass]
In Ubuntu 18.04, running autopkgtest on the patched source package appears not to execute tests.
[Download the source package from the PPA] 2.20.1+ ds-1ubuntu0. 1.dsc 2.20.1+ ds
$ dpkg-source -x node-moment_
$ cd node-moment-
$ debuild -us -uc
[If there are unmet build dependencies and/or conflicts, install them (or resolve in the case of conflicts) and repeat]
$ cd min
$ sed -Ei '1ivar QUnit = require("qunit");' tests.js
$ node tests.js
[No output means tests pass]
All tests pass on Ubuntu 18.04.