[ci] format
This commit is contained in:
parent
c20b93c484
commit
0d3a7de527
3 changed files with 10 additions and 11 deletions
|
@ -49,7 +49,7 @@ test.describe('TypeScript resolution -', () => {
|
||||||
|
|
||||||
t.beforeAll(async ({ astro }) => {
|
t.beforeAll(async ({ astro }) => {
|
||||||
await astro.build();
|
await astro.build();
|
||||||
})
|
});
|
||||||
|
|
||||||
t.beforeEach(async ({ astro }) => {
|
t.beforeEach(async ({ astro }) => {
|
||||||
previewServer = await astro.preview();
|
previewServer = await astro.preview();
|
||||||
|
@ -60,5 +60,5 @@ test.describe('TypeScript resolution -', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
runTest(t);
|
runTest(t);
|
||||||
})
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
export function resolveClientDevPath(id: string) {
|
export function resolveClientDevPath(id: string) {
|
||||||
if (id.startsWith('/@fs')) {
|
if (id.startsWith('/@fs')) {
|
||||||
// Vite does not resolve .jsx -> .tsx when coming from the client, so clip the extension.
|
// Vite does not resolve .jsx -> .tsx when coming from the client, so clip the extension.
|
||||||
|
|
Loading…
Add table
Reference in a new issue