mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
fix tests for error handler middleware
This commit is contained in:
@@ -168,6 +168,8 @@ describe('errorHandler', () => {
|
|||||||
originalUrl: req.originalUrl,
|
originalUrl: req.originalUrl,
|
||||||
headers: req.headers,
|
headers: req.headers,
|
||||||
body: req.body,
|
body: req.body,
|
||||||
|
httpCode: 400,
|
||||||
|
isHandledError: true,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user