From 2a21b1c337223108cab4f25bf585fa0d0d0b6a03 Mon Sep 17 00:00:00 2001 From: SleepWalker Date: Sun, 26 Feb 2017 13:56:35 +0200 Subject: [PATCH] #303: fix test to pass on ci env --- tests/services/request/request.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/services/request/request.test.js b/tests/services/request/request.test.js index 1a65172..b75aada 100644 --- a/tests/services/request/request.test.js +++ b/tests/services/request/request.test.js @@ -36,7 +36,7 @@ describe('services/request', () => { .then((error) => { expect(error, 'to be an', InternalServerError); expect(error.originalResponse, 'to be', resp); - expect(error.message, 'to contain', 'JSON'); + expect(error.message, 'to contain', 'Unexpected token'); }); });