test: print response when MKCOL fails for a mailbox

This commit is contained in:
Francis Lachapelle committed 2021-11-26 11:08:52 -05:00
1 parent c4bb0de11e
commit d70486f983
1 file changed
+1 -1
+1 -1
View File
@@ -177,7 +177,7 @@ describe('MailDAV', function() {
if (mailboxesList.indexOf(path) < 0)
mailboxesList.push(path)
expect(response.status)
.withContext(`HTTP status code when creating the mailbox ${path}`)
.withContext(`HTTP status code when creating the mailbox ${path} (${response.raw})`)
.toBe(expectedCode)
}