From feb87c21be37e508ec8b23cfbb47056fd0971dfc Mon Sep 17 00:00:00 2001 From: koyopro Date: Tue, 29 Oct 2024 04:15:08 +0000 Subject: [PATCH] [ci] format --- packages/astro/test/config-vite.test.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/astro/test/config-vite.test.js b/packages/astro/test/config-vite.test.js index 3212172d2f..abf2d71bc5 100644 --- a/packages/astro/test/config-vite.test.js +++ b/packages/astro/test/config-vite.test.js @@ -1,9 +1,9 @@ import assert from 'node:assert/strict'; import { before, describe, it } from 'node:test'; import * as cheerio from 'cheerio'; -import { loadFixture } from './test-utils.js'; -import { getViteConfig } from '../dist/config/index.js' import { resolveConfig } from 'vite'; +import { getViteConfig } from '../dist/config/index.js'; +import { loadFixture } from './test-utils.js'; describe('Vite Config', async () => { let fixture; @@ -24,13 +24,13 @@ describe('Vite Config', async () => { }); }); -describe("getViteConfig", () => { - it("Does not change the default config.", async () => { - const command = "serve"; - const mode = "test"; +describe('getViteConfig', () => { + it('Does not change the default config.', async () => { + const command = 'serve'; + const mode = 'test'; const configFn = getViteConfig({}); const config = await configFn({ command, mode }); const resolvedConfig = await resolveConfig(config, command, mode); - assert.deepStrictEqual(resolvedConfig.resolve.conditions, ["astro"]); - }) + assert.deepStrictEqual(resolvedConfig.resolve.conditions, ['astro']); + }); });