mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-10 13:32:45 +00:00
Fix failing test
This commit is contained in:
@@ -651,7 +651,7 @@ brew`);
|
|||||||
};
|
};
|
||||||
api.getStaticThemeCSS(req, res);
|
api.getStaticThemeCSS(req, res);
|
||||||
const sent = res.send.mock.calls[0][0];
|
const sent = res.send.mock.calls[0][0];
|
||||||
expect(sent).toBe('Invalid Theme - Engine: V3, Name: 5eDMGGGG');
|
expect(sent).toBe('Invalid Theme - Renderer: V3, Name: 5eDMGGGG');
|
||||||
expect(res.status).toHaveBeenCalledWith(404);
|
expect(res.status).toHaveBeenCalledWith(404);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user