#303: fix test to pass on ci env

This commit is contained in:
SleepWalker 2017-02-26 13:56:35 +02:00
parent 8127041acb
commit 2a21b1c337

View File

@ -36,7 +36,7 @@ describe('services/request', () => {
.then((error) => { .then((error) => {
expect(error, 'to be an', InternalServerError); expect(error, 'to be an', InternalServerError);
expect(error.originalResponse, 'to be', resp); expect(error.originalResponse, 'to be', resp);
expect(error.message, 'to contain', 'JSON'); expect(error.message, 'to contain', 'Unexpected token');
}); });
}); });