[Pkg-javascript-devel] Bug#884151: FTBFS with chai 4.1.2 in experimental

Pirate Praveen praveen at debian.org
Tue Dec 12 06:08:58 UTC 2017


package: node-v8flags
version: 2.0.11-2
severity: important

I'd like to upload chai 4.1.2 to unstable soon, please fix the test failure.

mkdir -p test-home
HOME=/<<PKGBUILDDIR>>/test-home mocha -R spec test.js


  v8flags

    ✓ should cache and call back with the v8 flags for the running process

    ✓ should not append the file when multiple calls happen concurrently
and the config file does not yet exist

    ✓ should fall back to writing to a temp dir if user home can't be found

    ✓ should fall back to writing to a temp dir if user home is unwriteable

    ✓ should return flags even if an error is thrown

    1) should back with an empty array if the runtime is electron


  5 passing (120ms)
  1 failing

  1) v8flags should back with an empty array if the runtime is electron:
     Uncaught Error: Invalid Chai property: array. Did you mean "any"?
      at Error (native)
      at Object.proxyGetter [as get]
(/usr/lib/nodejs/chai/lib/chai/utils/proxify.js:63:17)
      at /<<PKGBUILDDIR>>/test.js:114:29
      at /<<PKGBUILDDIR>>/index.js:101:7
      at _combinedTickCallback (internal/process/next_tick.js:73:7)
      at process._tickCallback (internal/process/next_tick.js:104:9)



debian/rules:13: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2017-12-12T06:06:21Z

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20171212/f53ce615/attachment.sig>


More information about the Pkg-javascript-devel mailing list