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'] }); });