mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
comment errors according to apidoc, add new tests and fix existing ones
This commit is contained in:
@@ -15,11 +15,9 @@ describe('notFoundHandler', () => {
|
||||
res = generateRes();
|
||||
req = generateReq();
|
||||
next = generateNext();
|
||||
|
||||
sandbox.stub(logger, 'error');
|
||||
});
|
||||
|
||||
it('sends NotFound error if the resource isn\'t found', () => {
|
||||
xit('sends NotFound error if the resource isn\'t found', () => {
|
||||
expect(res.status).to.be.calledOnce;
|
||||
expect(res.json).to.be.calledOnce;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user