Tape: TypeError: Cannot convert null to object

Created on 30 Sep 2016  路  3Comments  路  Source: substack/tape

Just noticed the following error at the end of one of my node 0.10 builds.

/home/travis/build/dcousens/typeforce/node_modules/tape/lib/test.js:449
        if (!isEnumerable(err, 'message') || !has(err, 'message')) {
             ^
TypeError: Cannot convert null to object
    at propertyIsEnumerable (native)
    at Test.throws (/home/travis/build/dcousens/typeforce/node_modules/tape/lib/test.js:449:14)
    at Test.bound [as throws] (/home/travis/build/dcousens/typeforce/node_modules/tape/lib/test.js:65:32)
    at Test.<anonymous> (/home/travis/build/dcousens/typeforce/test/index.js:39:7)
    at Test.bound [as _cb] (/home/travis/build/dcousens/typeforce/node_modules/tape/lib/test.js:65:32)
    at Test.run (/home/travis/build/dcousens/typeforce/node_modules/tape/lib/test.js:84:10)
    at Test.bound [as run] (/home/travis/build/dcousens/typeforce/node_modules/tape/lib/test.js:65:32)
    at Object.next [as _onImmediate] (/home/travis/build/dcousens/typeforce/node_modules/tape/lib/results.js:71:15)
bug

All 3 comments

crap, thanks, will fix

Interesting, does that mean I threw a null? D:

Yep, that is what it means

Was this page helpful?
0 / 5 - 0 ratings

Related issues

callumlocke picture callumlocke  路  4Comments

JoshuaGrams picture JoshuaGrams  路  5Comments

dcousens picture dcousens  路  8Comments

mkermani144 picture mkermani144  路  6Comments

shaunlebron picture shaunlebron  路  4Comments