Skip to content

Commit dc77a8e

Browse files
committed
troubleshoot CI
1 parent a76bdce commit dc77a8e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/mocha/xqSuite.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@ describe('running XQsuite test …', function () {
1212
client
1313
.get(runner)
1414
.set('Accept', 'application/json')
15-
.expect('content-type', 'application/json; charset=utf-8')
15+
.expect('content-type', /json/)
16+
.expect(200)
1617
.end(function (err, res) { // eslint-disable-line handle-callback-err
18+
console.info('response body: ' + JSON.stringify(res.body))
19+
if (err) return done(err);
1720
try {
1821
console.group()
1922
console.group()

0 commit comments

Comments
 (0)