diff options
author | 2025-03-19 13:55:19 +0000 | |
---|---|---|
committer | 2025-03-19 13:55:19 +0000 | |
commit | e26938ba94c6e81621ce715c557bd26e2e89d951 (patch) | |
tree | 646fbe84a388f9ca8acf9727ffef69e8d760c7a2 | |
parent | d5ad591230918db302edc89c1a98436c16a4e0d2 (diff) | |
download | astro-e26938ba94c6e81621ce715c557bd26e2e89d951.tar.gz astro-e26938ba94c6e81621ce715c557bd26e2e89d951.tar.zst astro-e26938ba94c6e81621ce715c557bd26e2e89d951.zip |
[ci] format
Diffstat (limited to '')
-rw-r--r-- | packages/integrations/cloudflare/test/with-base-path.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/integrations/cloudflare/test/with-base-path.js b/packages/integrations/cloudflare/test/with-base-path.js index 6ea82b2fb..904af09c0 100644 --- a/packages/integrations/cloudflare/test/with-base-path.js +++ b/packages/integrations/cloudflare/test/with-base-path.js @@ -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))); } }); }); - |