[Pkg-javascript-devel] Bug#942200: rollup 1.0 transition: node-d3 built with rollup 1.0 gives error in test

Pirate Praveen praveen at onenetbeyond.org
Sun Oct 13 15:45:52 BST 2019


Control: reassign -1 rollup
Control: found -1 1.0.2-1
Control: retitle -1 rollup 1.0.2 creates broken bundle for node-d3

On Sun, Oct 13, 2019 at 16:48, Pirate Praveen 
<praveen at onenetbeyond.org> wrote:
> On Sat, 12 Oct 2019 13:04:10 +0530 Pirate Praveen
> <praveen at onenetbeyond.org <mailto:praveen at onenetbeyond.org>> wrote:
>>  package: node-d3
>>  version: 4.13.0-10
> 
> With node-d3 5.12, build succeeds and one test fails,
> 
> # version matches package.json
> ok 1 should be equal
> # d3.event is a getter for d3Selection.event
> ok 2 should be equal
> not ok 3 should be equal
>   ---
>     operator: equal
>     expected: 42
>     actual:   null
>     at: Test.<anonymous> (/<<PKGBUILDDIR>>/test/d3-test.js:15:10)
>     stack: |-
>       Error: should be equal
>           at Test.assert [as _assert]
> (/usr/lib/nodejs/tape/lib/test.js:235:54)
>           at Test.bound [as _assert]
> (/usr/lib/nodejs/tape/lib/test.js:87:32)
>           at Test.equal (/usr/lib/nodejs/tape/lib/test.js:395:10)
>           at Test.bound [as equal] 
> (/usr/lib/nodejs/tape/lib/test.js:87:32)
>           at Test.<anonymous> (/<<PKGBUILDDIR>>/test/d3-test.js:15:10)
>           at Test.bound [as _cb] 
> (/usr/lib/nodejs/tape/lib/test.js:87:32)
>           at Test.run (/usr/lib/nodejs/tape/lib/test.js:106:10)
>           at Test.bound [as run] 
> (/usr/lib/nodejs/tape/lib/test.js:87:32)
>           at Immediate.next [as _onImmediate]
> (/usr/lib/nodejs/tape/lib/results.js:71:15)
>           at runCallback (timers.js:705:18)
>   ...

This seems like a bug in rollup 1.0.2. Using with rollup 1.0.2 in 
package.json, npm i; npm run test also fails. Works fine with rollup 
1.8.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20191013/935209cc/attachment.html>


More information about the Pkg-javascript-devel mailing list