JsonResponse test ensure parse error is of type `SyntaxError`
Previously `Error`.master
parent
e8344e36bb
commit
57886e66d0
|
@ -62,7 +62,7 @@ describe( 'dapi.format.JsonRepsonse trait', function()
|
|||
_createStubbedDapi( null, 'ERR' )
|
||||
.request( '', function( err, data )
|
||||
{
|
||||
expect( err ).to.be.instanceOf( Error );
|
||||
expect( err ).to.be.instanceOf( SyntaxError );
|
||||
done();
|
||||
} );
|
||||
} );
|
||||
|
|
Loading…
Reference in New Issue