From 9d671d178a71d2c334b068034c8bfe9d0ce9459e Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Fri, 27 May 2022 20:57:04 +0000 Subject: [PATCH] [ci] format --- packages/astro/test/astro-markdown.test.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/astro/test/astro-markdown.test.js b/packages/astro/test/astro-markdown.test.js index d98dabe18c..ecd6074ec0 100644 --- a/packages/astro/test/astro-markdown.test.js +++ b/packages/astro/test/astro-markdown.test.js @@ -237,12 +237,16 @@ describe('Astro Markdown', () => { it('Exposes raw markdown content', async () => { const { raw } = JSON.parse(await fixture.readFile('/raw-content.json')); - expect(fixLineEndings(raw)).to.equal(`\n## With components\n\n### Non-hydrated\n\n\n\n### Hydrated\n\n\n\n`); + expect(fixLineEndings(raw)).to.equal( + `\n## With components\n\n### Non-hydrated\n\n\n\n### Hydrated\n\n\n\n` + ); }); - + it('Exposes HTML parser for raw markdown content', async () => { const { compiled } = JSON.parse(await fixture.readFile('/raw-content.json')); - - expect(fixLineEndings(compiled)).to.equal(`

With components

\n

Non-hydrated

\n\n

Hydrated

\n\n`); - }) + + expect(fixLineEndings(compiled)).to.equal( + `

With components

\n

Non-hydrated

\n\n

Hydrated

\n\n` + ); + }); });