From cb7989c5def7a57b4d06b89f9637282cf159c021 Mon Sep 17 00:00:00 2001 From: Simon Holthausen Date: Wed, 28 Aug 2024 17:52:46 +0200 Subject: [PATCH] oops --- .../expectedv2.json | 0 .../input.svelte | 0 .../tsconfig.json | 0 .../language-server/test/plugins/typescript/service.test.ts | 6 ++++-- 4 files changed, 4 insertions(+), 2 deletions(-) rename packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/{exports-map-svelte.only => exports-map-svelte}/expectedv2.json (100%) rename packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/{exports-map-svelte.only => exports-map-svelte}/input.svelte (100%) rename packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/{exports-map-svelte.only => exports-map-svelte}/tsconfig.json (100%) diff --git a/packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte.only/expectedv2.json b/packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte/expectedv2.json similarity index 100% rename from packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte.only/expectedv2.json rename to packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte/expectedv2.json diff --git a/packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte.only/input.svelte b/packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte/input.svelte similarity index 100% rename from packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte.only/input.svelte rename to packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte/input.svelte diff --git a/packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte.only/tsconfig.json b/packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte/tsconfig.json similarity index 100% rename from packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte.only/tsconfig.json rename to packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/exports-map-svelte/tsconfig.json diff --git a/packages/language-server/test/plugins/typescript/service.test.ts b/packages/language-server/test/plugins/typescript/service.test.ts index 50c793c6f..266496dc7 100644 --- a/packages/language-server/test/plugins/typescript/service.test.ts +++ b/packages/language-server/test/plugins/typescript/service.test.ts @@ -75,7 +75,8 @@ describe('service', () => { strict: true, module: ts.ModuleKind.ESNext, moduleResolution: ts.ModuleResolutionKind.Node10, - target: ts.ScriptTarget.ESNext + target: ts.ScriptTarget.ESNext, + customConditions: ['svelte'] }); }); @@ -185,7 +186,8 @@ describe('service', () => { moduleResolution: ts.ModuleResolutionKind.Node10, noEmit: true, skipLibCheck: true, - target: ts.ScriptTarget.ESNext + target: ts.ScriptTarget.ESNext, + customConditions: ['svelte'] }); });