mirror of
https://github.com/prymitive/karma
synced 2026-05-09 03:36:44 +00:00
Fix wrong status in error
Doesn't matter for test result, but should be error since we return 500
This commit is contained in:
@@ -157,7 +157,7 @@ test("failed sendSilencePOST()", () => {
|
||||
templates.init();
|
||||
|
||||
const ajaxServer = ajaxMock.createServer(500, {
|
||||
"status": "success",
|
||||
"status": "error",
|
||||
"errorType": "server_error",
|
||||
"error": "request failed"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user