From 70c1d77fbe0d54e9e84f11e04ed09d23293a02d2 Mon Sep 17 00:00:00 2001 From: Moustapha HappyDev Date: Thu, 11 Jan 2024 17:43:46 +0000 Subject: [PATCH] test: add another assertion --- packages/astro/test/astro-slots.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/astro/test/astro-slots.test.js b/packages/astro/test/astro-slots.test.js index c97c9d93ed59..0f0284ea5ebd 100644 --- a/packages/astro/test/astro-slots.test.js +++ b/packages/astro/test/astro-slots.test.js @@ -196,6 +196,7 @@ describe('Slots', () => { const $ = cheerio.load(html); expect($('#post-1')).to.have.lengthOf(1); expect($('#post-1').text().trim()).to.equal(''); + expect($('#post-1').html().trim()).to.equal(`
`); expect($('#post-2')).to.have.lengthOf(1); expect($('#post-2').text().trim()).to.equal('Post 2 Post 2 content');