summaryrefslogtreecommitdiff
path: root/packages/integrations/node
diff options
context:
space:
mode:
authorGravatar Okuto Oyama <0910yama@gmail.com> 2023-09-12 18:56:52 +0900
committerGravatar GitHub <noreply@github.com> 2023-09-12 17:56:52 +0800
commit644825845c11c8d100a9b0d16b69a23c165c529e (patch)
tree124f2c739b9119ec0c26c3f6b51444ec025df0b6 /packages/integrations/node
parentbf341d6762b1907d22b0d56b1df114585a180ad0 (diff)
downloadastro-644825845c11c8d100a9b0d16b69a23c165c529e.tar.gz
astro-644825845c11c8d100a9b0d16b69a23c165c529e.tar.zst
astro-644825845c11c8d100a9b0d16b69a23c165c529e.zip
Removed `<style>` with `type="text/css"` from inline output at build time (#8480)
Diffstat (limited to 'packages/integrations/node')
-rw-r--r--packages/integrations/node/test/prerender-404-500.test.js2
1 files changed, 1 insertions, 1 deletions
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);
});
});