Skip to content

Commit

Permalink
skip only esm.sh in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JayaKrishnaNamburu committed Dec 9, 2023
1 parent 05b7525 commit ea6a273
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 1 addition & 5 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
];

Expand Down
8 changes: 8 additions & 0 deletions test/providers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")) {
Expand Down

0 comments on commit ea6a273

Please sign in to comment.