mirror of
https://github.com/withastro/astro.git
synced 2025-01-27 22:19:04 -05:00
[ci] format
This commit is contained in:
parent
82de54979e
commit
6dbafb8f5f
5 changed files with 44 additions and 45 deletions
|
@ -3,7 +3,6 @@ import { sitemap } from './fixtures/static/deps.mjs';
|
|||
import * as assert from 'node:assert/strict';
|
||||
import { describe, it, before } from 'node:test';
|
||||
|
||||
|
||||
describe('Filter support', () => {
|
||||
/** @type {import('./test-utils.js').Fixture} */
|
||||
let fixture;
|
||||
|
|
|
@ -17,7 +17,7 @@ describe('SSR support', () => {
|
|||
const data = await readXML(fixture.readFile('/client/sitemap-0.xml'));
|
||||
const urls = data.urlset.url;
|
||||
|
||||
assert.equal(urls[0].loc[0],'http://example.com/one/')
|
||||
assert.equal(urls[1].loc[0],'http://example.com/two/')
|
||||
assert.equal(urls[0].loc[0], 'http://example.com/one/');
|
||||
assert.equal(urls[1].loc[0], 'http://example.com/two/');
|
||||
});
|
||||
});
|
||||
|
|
|
@ -21,7 +21,7 @@ describe('getStaticPaths support', () => {
|
|||
|
||||
it('requires zero config for getStaticPaths', async () => {
|
||||
assert.strictEqual(urls.includes('http://example.com/one/'), true);
|
||||
assert.strictEqual(urls.includes('http://example.com/two/'),true)
|
||||
assert.strictEqual(urls.includes('http://example.com/two/'), true);
|
||||
});
|
||||
|
||||
it('does not include 404 pages', () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue