1
0
Fork 0

JsonResponse test ensure parse error is of type `SyntaxError`

Previously `Error`.
master
Mike Gerwitz 2015-05-28 09:43:20 -04:00
parent e8344e36bb
commit 57886e66d0
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ describe( 'dapi.format.JsonRepsonse trait', function()
_createStubbedDapi( null, 'ERR' ) _createStubbedDapi( null, 'ERR' )
.request( '', function( err, data ) .request( '', function( err, data )
{ {
expect( err ).to.be.instanceOf( Error ); expect( err ).to.be.instanceOf( SyntaxError );
done(); done();
} ); } );
} ); } );