mirror of
https://github.com/withastro/astro.git
synced 2025-04-07 23:41:43 -05:00
[ci] format
This commit is contained in:
parent
d5ad591230
commit
e26938ba94
1 changed files with 2 additions and 3 deletions
|
@ -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)));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue