[Pkg-javascript-devel] Bug#884155: FTBFS with chai 4.1.2 in experimental
Pirate Praveen
praveen at debian.org
Tue Dec 12 08:37:06 UTC 2017
package: node-object-path
version: 0.11.3-1
severity: important
I'd like to upload chai 4.1.2 to unstable, please fix this test failures.
mocha test.js -R spec
get
✓ should return the value using unicode key
✓ should return the value using dot in key
✓ should return the value under shallow object
✓ should work with number path
✓ should return the value under deep object
✓ should return the value under array
✓ should return the value under array deep
✓ should return undefined for missing values under object
✓ should return undefined for missing values under array
✓ should return the value under integer-like key
✓ should return the default value when the key doesnt exist
✓ should return the default value when path is empty
✓ should return the default value when object is null or undefined
✓ should not fail on an object with a null prototype
✓ should skip non own properties
set
✓ should set the value using unicode key
✓ should set the value using dot in key
1) should set value under shallow object
2) should set value using number path
3) should set value under deep object
4) should set value under array
5) should create intermediate objects
6) should create intermediate arrays
✓ should set value under integer-like key
✓ should set value under empty array
push
7) should push value to existing array using unicode key
✓ should push value to existing array using dot key
8) should push value to existing array
9) should push value to new array
10) should push value to existing array using number path
ensureExists
11) should create the path if it does not exists
✓ should return the object if path is empty
✓ Issue #26
coalesce
✓ should return the first non-undefined value
✓ should work with falsy values (null, 0, '', false)
✓ returns defaultValue if no paths found
✓ works with unicode and dot keys
empty
✓ should ignore invalid arguments safely
✓ should empty each path according to their types
del
✓ should work with number path
12) should delete deep paths
✓ should remove items from existing array
insert
13) should insert value into existing array
14) should create intermediary array
15) should insert in another index
✓ should handle sparse array
has
✓ should return false for empty object
✓ should handle empty paths properly
✓ should test under shallow object
✓ should work with number path
✓ should test under deep object
✓ should test value under array
✓ should test the value under array deep
✓ should test the value under integer-like key
✓ should distinct nonexistent key and key = undefined
✓ should work with deep undefined/null values
bind object
✓ should return the value under shallow object
16) should set value under shallow object
17) should push value to existing array
18) should create the path if it does not exists
✓ should return the first non-undefined value
✓ should empty each path according to their types
19) should delete deep paths
20) should insert value into existing array
✓ should test under shallow object
Don't access not own properties [default]
✓ should not get a not own property
✓ should set a not own property on the instance (not the prototype)
✓ has should return false on a not own property
✓ empty should not empty on a not own property
✓ del should not delete not own property
Access own properties [optional]
✓ should get a not own property
✓ should set a deep not own property on the prototype (if exists)
✓ has should return true on a not own property
✓ empty should empty a not own property
✓ del should delete a not own property
55 passing (90ms)
20 failing
1) set should set value under shallow object:
AssertionError: expected { Object (a, b, ...) } to have deep
property 'c.m'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:164:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
2) set should set value using number path:
AssertionError: expected { Object (a, b) } to have deep property
'b.d.0'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:173:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
3) set should set value under deep object:
AssertionError: expected { Object (a, b) } to have deep property 'b.c'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:179:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
4) set should set value under array:
AssertionError: expected { Object (a, b) } to have deep property
'b.e.1.g'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:188:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
5) set should create intermediate objects:
AssertionError: expected { Object (a, b, ...) } to have deep
property 'c.d.e.f'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:202:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
6) set should create intermediate arrays:
AssertionError: expected { Object (a, b, ...) } to have deep
property 'c.0.1.m'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:213:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
7) push should push value to existing array using unicode key:
AssertionError: expected { Object (a, b) } to have deep property
'b.ነc.0'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:245:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
8) push should push value to existing array:
AssertionError: expected { Object (a, b) } to have deep property
'b.c.0'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:259:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
9) push should push value to new array:
AssertionError: expected { Object (a, b) } to have deep property
'b.h.0'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:268:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
10) push should push value to existing array using number path:
AssertionError: expected { Object (a, b) } to have deep property
'b.e.0.0'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:277:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
11) ensureExists should create the path if it does not exists:
AssertionError: expected { Object (a, b) } to have deep property
'b.g.1.l'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:288:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
12) del should delete deep paths:
AssertionError: expected { Object (a, b) } to have deep property
'b.g.1.0'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:466:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
13) insert should insert value into existing array:
AssertionError: expected { Object (a, b) } to have deep property
'b.c.0'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:511:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
14) insert should create intermediary array:
AssertionError: expected { Object (a, b) } to have deep property
'b.c.0.0'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:519:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
15) insert should insert in another index:
AssertionError: expected { Object (a, b) } to have deep property
'b.d.1'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:526:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
16) bind object should set value under shallow object:
AssertionError: expected { Object (a, b, ...) } to have deep
property 'c.m'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:650:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
17) bind object should push value to existing array:
AssertionError: expected { Object (a, b) } to have deep property
'b.c.0'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:661:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
18) bind object should create the path if it does not exists:
AssertionError: expected { Object (a, b) } to have deep property
'b.g.1.l'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:673:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
19) bind object should delete deep paths:
AssertionError: expected { Object (a, b) } to have deep property
'b.g.1.0'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:761:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
20) bind object should insert value into existing array:
AssertionError: expected { Object (a, b) } to have deep property
'b.c.0'
at Context.<anonymous> (/<<PKGBUILDDIR>>/test.js:786:30)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
at /usr/lib/nodejs/mocha/lib/runner.js:451:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
at /usr/lib/nodejs/mocha/lib/runner.js:308:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
debian/rules:13: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 20
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-12T08:33:55Z
-------------- 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/c4fca9c2/attachment.sig>
More information about the Pkg-javascript-devel
mailing list