mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-10 17:52:47 +00:00
Remove unused test
This commit is contained in:
@@ -618,18 +618,6 @@ brew`);
|
|||||||
});
|
});
|
||||||
|
|
||||||
describe('getStaticThemeCSS', ()=>{
|
describe('getStaticThemeCSS', ()=>{
|
||||||
it('should return an import of the theme without including a parent.', async ()=>{
|
|
||||||
const req = {
|
|
||||||
params : {
|
|
||||||
engine : 'V3',
|
|
||||||
id : '5ePHB'
|
|
||||||
}
|
|
||||||
};
|
|
||||||
api.getStaticThemeCSS(req, res);
|
|
||||||
const sent = res.send.mock.calls[0][0];
|
|
||||||
expect(sent).toBe('@import url("/themes/V3/5ePHB/style.css");\n/* Static Theme 5e PHB */\n');
|
|
||||||
expect(res.status).toHaveBeenCalledWith(200);
|
|
||||||
});
|
|
||||||
it('should return an import of the theme including a parent.', async ()=>{
|
it('should return an import of the theme including a parent.', async ()=>{
|
||||||
const req = {
|
const req = {
|
||||||
params : {
|
params : {
|
||||||
|
|||||||
Reference in New Issue
Block a user