0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-04-07 23:41:43 -05:00

[ci] format

This commit is contained in:
Tristan Sweeney 2025-03-14 12:36:43 +00:00 committed by astrobot-houston
parent 382f5db9a9
commit 51d2a1acba

View file

@ -30,7 +30,9 @@ describe('Config', () => {
it('xslURL: Includes xml-stylesheet', async () => {
const indexXml = await fixture.readFile('/sitemap-index.xml');
assert.ok(
indexXml.includes('<?xml-stylesheet type="text/xsl" href="http://example.com/sitemap.xsl"?>'),
indexXml.includes(
'<?xml-stylesheet type="text/xsl" href="http://example.com/sitemap.xsl"?>',
),
indexXml,
);
@ -65,7 +67,9 @@ describe('Config', () => {
it('xslURL: Includes xml-stylesheet', async () => {
const indexXml = await fixture.readFile('/client/sitemap-index.xml');
assert.ok(
indexXml.includes('<?xml-stylesheet type="text/xsl" href="http://example.com/sitemap.xsl"?>'),
indexXml.includes(
'<?xml-stylesheet type="text/xsl" href="http://example.com/sitemap.xsl"?>',
),
indexXml,
);