0
0
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:
David Bolack
2024-02-20 23:26:09 -06:00
parent c319d6bcfa
commit ae2bb3a028
2 changed files with 3 additions and 3 deletions

View File

@@ -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()=>{