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:
Matt Kane 2025-03-19 13:55:19 +00:00 committed by astrobot-houston
parent d5ad591230
commit e26938ba94

View file

@ -1,9 +1,9 @@
// @ts-check
import * as assert from 'node:assert/strict';
import { promises as fs, existsSync } from 'node:fs';
import { before, describe, it } from 'node:test';
import { fileURLToPath } from 'node:url';
import { astroCli } from './_test-utils.js';
import { existsSync, promises as fs } from 'node:fs';
const root = new URL('./fixtures/with-base/', import.meta.url);
@ -14,9 +14,8 @@ describe('With base', () => {
});
it('generates platform files in the correct directory', async () => {
for (const file of ['_redirects', '_routes.json', 'blog/static/index.html']) {
for (const file of ['_redirects', '_routes.json', 'blog/static/index.html']) {
assert.ok(existsSync(new URL(`dist/${file}`, root)));
}
});
});