From 55c8aced44a60a664f28de9dabf03ca51897599e Mon Sep 17 00:00:00 2001 From: matthewp Date: Tue, 26 Jul 2022 21:33:54 +0000 Subject: [PATCH] [ci] format --- packages/astro/test/markdown.test.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/astro/test/markdown.test.js b/packages/astro/test/markdown.test.js index b107d36ce..dd5d08940 100644 --- a/packages/astro/test/markdown.test.js +++ b/packages/astro/test/markdown.test.js @@ -16,26 +16,26 @@ describe('Markdown tests', () => { before(async () => { await fixture.build(); }); - + it('Can load a simple markdown page with Astro', async () => { const html = await fixture.readFile('/post/index.html'); const $ = cheerio.load(html); - + expect($('p').first().text()).to.equal('Hello world!'); expect($('#first').text()).to.equal('Some content'); expect($('#interesting-topic').text()).to.equal('Interesting Topic'); }); - + it('Can load a realworld markdown page with Astro', async () => { const html = await fixture.readFile('/realworld/index.html'); const $ = cheerio.load(html); - + expect($('pre')).to.have.lengthOf(7); }); it('Does not unescape entities', async () => { const html = await fixture.readFile('/entities/index.html'); - expect(html).to.match(new RegExp("<i>This should NOT be italic</i>")); + expect(html).to.match(new RegExp('<i>This should NOT be italic</i>')); }); }); });