mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 16:22:44 +00:00
Add missing style.css
This commit is contained in:
@@ -611,7 +611,7 @@ brew`);
|
||||
};
|
||||
api.getStaticTheme(req, res);
|
||||
const sent = res.send.mock.calls[0][0];
|
||||
expect(sent).toBe('@import /themes/V3/5ePHB\n');
|
||||
expect(sent).toBe('@import /themes/V3/5ePHB/style.css\n');
|
||||
expect(res.status).toHaveBeenCalledWith(200);
|
||||
});
|
||||
it('should return an import of the theme including a parent.', async ()=>{
|
||||
@@ -623,7 +623,7 @@ brew`);
|
||||
};
|
||||
api.getStaticTheme(req, res);
|
||||
const sent = res.send.mock.calls[0][0];
|
||||
expect(sent).toBe('@import /api/css/V3/5ePHB\n@import /themes/V3/5eDMG\n');
|
||||
expect(sent).toBe('@import /api/css/V3/5ePHB\n@import /themes/V3/5eDMG/style.css\n');
|
||||
expect(res.status).toHaveBeenCalledWith(200);
|
||||
});
|
||||
it('should fail for an invalid static theme.', async()=>{
|
||||
|
||||
Reference in New Issue
Block a user