From b53e8b3fb1aa8a2c4c5d5c9b194a541cfea65a52 Mon Sep 17 00:00:00 2001 From: bluwy Date: Thu, 16 Mar 2023 17:06:31 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/vite-plugin-config-alias/index.ts | 4 ++-- packages/astro/test/alias-tsconfig.test.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/astro/src/vite-plugin-config-alias/index.ts b/packages/astro/src/vite-plugin-config-alias/index.ts index 52325904a..cec03f33e 100644 --- a/packages/astro/src/vite-plugin-config-alias/index.ts +++ b/packages/astro/src/vite-plugin-config-alias/index.ts @@ -2,9 +2,9 @@ import fs from 'fs'; import path from 'path'; import type { AstroSettings } from '../@types/astro'; -import type { Alias, Plugin as VitePlugin } from 'vite'; -import type { TsConfigJson } from 'tsconfig-resolver'; import slash from 'slash'; +import type { TsConfigJson } from 'tsconfig-resolver'; +import type { Alias, Plugin as VitePlugin } from 'vite'; /** Returns a list of compiled aliases. */ const getConfigAlias = ( diff --git a/packages/astro/test/alias-tsconfig.test.js b/packages/astro/test/alias-tsconfig.test.js index c6aa98284..3157f7353 100644 --- a/packages/astro/test/alias-tsconfig.test.js +++ b/packages/astro/test/alias-tsconfig.test.js @@ -44,7 +44,7 @@ describe('Aliases with tsconfig.json', () => { it('works in css @import', async () => { const html = await fixture.fetch('/').then((res) => res.text()); - console.log(html) + console.log(html); // imported css should be bundled expect(html).to.include('#style-red'); expect(html).to.include('#style-blue');