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

Ghislain Vaillant ghisvail at gmail.com
Sat Dec 16 15:11:34 UTC 2017


Why is this happening with chai 4.x and not 3.5?

Sorry, but I am gonna need more context to fix this.

Ghis

On Tue, 12 Dec 2017 14:00:12 +0530 Pirate Praveen <praveen at debian.org> 
wrote:
> package: libjs-fetch
> version: 2.0.3-1
> severity: important
> 
> I'd like to upload chai 4.1.2 to unstable soon, please fix these failures.
> 
> xvfb-run -a -s "-screen 0 640x480x16" ./script/test
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-pravi'
> Error loading resource
> http://localhost:3901/node_modules/url-search-params/build/url-search-params.js
> (203). Details: Error transferring
> http://localhost:3901/node_modules/url-search-params/build/url-search-params.js
> - server replied: Not Found
> 
> 
> ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․ArrayBuffer
> is deprecated in XMLHttpRequest.send(). Use ArrayBufferView instead.
> ․․․․․․․․․․․․․․․․․․․․․․․․․
> 
>   94 passing (578ms)
>   11 pending
>   21 failing
> 
>   1) polyfill Headers returns null on no header found:
>      isNull at http://localhost:3901/node_modules/chai/chai.js:4757:58
> http://localhost:3901/test/test.js:208:18
> callFn at http://localhost:3901/node_modules/mocha/mocha.js:4613:25
> run at http://localhost:3901/node_modules/mocha/mocha.js:4
>   06:13
>   runTest at http://localhost:3901/node_modules/mocha/mocha.js:5002:13
>   http://localhost:3901/node_modules/mocha/mocha.js:5080:19
>   next at http://localhost:3901/node_modules/mocha/mocha.js:4927:16
>   http://localhost:3901/node_modules/mocha/mocha.js:4937:11
>   next at http://localhost:3901/node_modules/mocha/mocha.js:4875:25
>   http://localhost:3901/node_modules/mocha/mocha.js:4904:9
>   timeslice at http://localhost:3901/node_modules/mocha/mocha.js:6042:27
> 
>   2) polyfill Headers deletes headers:
>      isNull at http://localhost:3901/node_modules/chai/chai.js:4757:58
> http://localhost:3901/test/test.js:221:18
> callFn at http://localhost:3901/node_modules/mocha/mocha.js:4613:25
> run at http://localhost:3901/node_modules/mocha/mocha.js:4
>   06:13
>   runTest at http://localhost:3901/node_modules/mocha/mocha.js:5002:13
>   http://localhost:3901/node_modules/mocha/mocha.js:5080:19
>   next at http://localhost:3901/node_modules/mocha/mocha.js:4927:16
>   http://localhost:3901/node_modules/mocha/mocha.js:4937:11
>   next at http://localhost:3901/node_modules/mocha/mocha.js:4875:25
>   http://localhost:3901/node_modules/mocha/mocha.js:4904:9
>   timeslice at http://localhost:3901/node_modules/mocha/mocha.js:6042:27
> 
>   3) polyfill Headers throws TypeError on invalid character in field name:
>      throws at http://localhost:3901/node_modules/chai/chai.js:6320:16
> http://localhost:3901/test/test.js:237:18
> callFn at http://localhost:3901/node_modules/mocha/mocha.js:4613:25
> run at http://localhost:3901/node_modules/mocha/mocha.js:4606:13
> runTest at http://localhost:3901/n
>   de_modules/mocha/mocha.js:5002:13
>   http://localhost:3901/node_modules/mocha/mocha.js:5080:19
>   next at http://localhost:3901/node_modules/mocha/mocha.js:4927:16



More information about the Pkg-javascript-devel mailing list