0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-13 22:11:20 -05:00

[ci] format

This commit is contained in:
Matt Kane 2024-12-19 16:49:51 +00:00 committed by astrobot-houston
parent f632b94527
commit 49cc5d7266

View file

@ -121,8 +121,8 @@ describe('Astro Markdown plugins', () => {
testRehype(html, '#smartypants-test'); testRehype(html, '#smartypants-test');
}); });
describe("content layer plugins", () => { describe('content layer plugins', () => {
let fixture let fixture;
before(async () => { before(async () => {
fixture = await loadFixture({ fixture = await loadFixture({
root: './fixtures/content-layer-remark-plugins/', root: './fixtures/content-layer-remark-plugins/',
@ -135,9 +135,7 @@ describe('Astro Markdown plugins', () => {
const $ = cheerio.load(html); const $ = cheerio.load(html);
assert.equal($('p').text(), 'Not transformed'); assert.equal($('p').text(), 'Not transformed');
}); });
}); });
}); });
function testRehype(html, headingId) { function testRehype(html, headingId) {