From d25dc4c4484340a794eaac1e6d18cc5aa2071524 Mon Sep 17 00:00:00 2001 From: Tony Sullivan Date: Fri, 29 Apr 2022 21:15:56 +0000 Subject: [PATCH] Fixes variable definitions in ` + ); + }); + it('set:html', async () => { const html = await fixture.readFile('/set-html/index.html'); const $ = cheerio.load(html); diff --git a/packages/astro/test/fixtures/astro-directives/src/pages/define-vars.astro b/packages/astro/test/fixtures/astro-directives/src/pages/define-vars.astro index a6cc18ec6..db03705ad 100644 --- a/packages/astro/test/fixtures/astro-directives/src/pages/define-vars.astro +++ b/packages/astro/test/fixtures/astro-directives/src/pages/define-vars.astro @@ -1,9 +1,18 @@ --- let foo = 'bar' +let bg = 'white' +let fg = 'black' --- - + + +