diff options
Diffstat (limited to 'packages/integrations')
-rw-r--r-- | packages/integrations/deno/test/basics.test.ts | 2 | ||||
-rw-r--r-- | packages/integrations/node/test/prerender-404-500.test.js | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/packages/integrations/deno/test/basics.test.ts b/packages/integrations/deno/test/basics.test.ts index 78672d34b..043fab2d6 100644 --- a/packages/integrations/deno/test/basics.test.ts +++ b/packages/integrations/deno/test/basics.test.ts @@ -50,8 +50,6 @@ Deno.test({ const doc = new DOMParser().parseFromString(html, `text/html`); const style = doc!.querySelector('style'); - assertEquals(style?.getAttribute('type'), 'text/css'); - assert(style?.textContent?.includes('Courier New')); }); diff --git a/packages/integrations/node/test/prerender-404-500.test.js b/packages/integrations/node/test/prerender-404-500.test.js index ea1b762a7..f8bf0778c 100644 --- a/packages/integrations/node/test/prerender-404-500.test.js +++ b/packages/integrations/node/test/prerender-404-500.test.js @@ -101,7 +101,7 @@ describe('Prerender 404', () => { const $ = cheerio.load(html); // length will be 0 if the stylesheet does not get included - expect($('style[type="text/css"]')).to.have.a.lengthOf(1); + expect($('style')).to.have.a.lengthOf(1); }); }); |