[ci] format
This commit is contained in:
parent
ea9b3dd72b
commit
b53e8b3fb1
2 changed files with 3 additions and 3 deletions
|
@ -2,9 +2,9 @@ import fs from 'fs';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import type { AstroSettings } from '../@types/astro';
|
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 slash from 'slash';
|
||||||
|
import type { TsConfigJson } from 'tsconfig-resolver';
|
||||||
|
import type { Alias, Plugin as VitePlugin } from 'vite';
|
||||||
|
|
||||||
/** Returns a list of compiled aliases. */
|
/** Returns a list of compiled aliases. */
|
||||||
const getConfigAlias = (
|
const getConfigAlias = (
|
||||||
|
|
|
@ -44,7 +44,7 @@ describe('Aliases with tsconfig.json', () => {
|
||||||
|
|
||||||
it('works in css @import', async () => {
|
it('works in css @import', async () => {
|
||||||
const html = await fixture.fetch('/').then((res) => res.text());
|
const html = await fixture.fetch('/').then((res) => res.text());
|
||||||
console.log(html)
|
console.log(html);
|
||||||
// imported css should be bundled
|
// imported css should be bundled
|
||||||
expect(html).to.include('#style-red');
|
expect(html).to.include('#style-red');
|
||||||
expect(html).to.include('#style-blue');
|
expect(html).to.include('#style-blue');
|
||||||
|
|
Loading…
Add table
Reference in a new issue