From 554203b06f6b637613a6322e781910e8625d0261 Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Tue, 27 Jun 2023 17:02:08 -0500 Subject: [PATCH] chore: add compressHTML to astro:ssr-manifest test --- packages/astro/test/ssr-manifest.test.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/astro/test/ssr-manifest.test.js b/packages/astro/test/ssr-manifest.test.js index cb876bde9889..4e5521220903 100644 --- a/packages/astro/test/ssr-manifest.test.js +++ b/packages/astro/test/ssr-manifest.test.js @@ -11,6 +11,7 @@ describe('astro:ssr-manifest', () => { fixture = await loadFixture({ root: './fixtures/ssr-manifest/', output: 'server', + compressHTML: true, adapter: testAdapter(), }); await fixture.build(); @@ -25,4 +26,10 @@ describe('astro:ssr-manifest', () => { const $ = cheerio.load(html); expect($('#assets').text()).to.equal('["/_astro/index.a8a337e4.css"]'); }); + + it('includes compressHTML', async () => { + const app = await fixture.loadTestAdapterApp(); + expect(app.manifest).to.haveOwnProperty('compressHTML'); + expect(app.manifest.compressHTML).to.be.true; + }); });