From ea6a273021adf8ac2bf03bb544a19b52d207336f Mon Sep 17 00:00:00 2001 From: Jaya Krishna Date: Sat, 9 Dec 2023 14:06:30 +0530 Subject: [PATCH] skip only esm.sh in tests --- src/utils.ts | 6 +----- test/providers.test.ts | 8 ++++++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/utils.ts b/src/utils.ts index 9366cf0a5..d7d97bcf1 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -30,11 +30,7 @@ export const availableProviders = [ "jsdelivr", "skypack", "unpkg", - /* - Disabling esm.sh provider for now. There is a bug for installing lit. - https://github.com/jspm/generator/issues/335 - */ - // "esm.sh", + "esm.sh", "jspm.io#system", ]; diff --git a/test/providers.test.ts b/test/providers.test.ts index c04ff4008..824687d2d 100644 --- a/test/providers.test.ts +++ b/test/providers.test.ts @@ -34,6 +34,14 @@ const scenarios: Scenario[] = [ // Scenarios that check we can use each available provider: const files = await mapDirectory("test/fixtures/scenario_providers"); for (const provider of availableProviders) { + if (provider === "esm.sh") { + /* + Disabling esm.sh provider for now. There is a bug for installing lit. + https://github.com/jspm/generator/issues/335 + */ + continue; + } + let spec = "lit"; let name = "lit"; if (provider.includes("deno")) {