Skip to content

Commit

Permalink
test(registries): bump the version of imports
Browse files Browse the repository at this point in the history
  • Loading branch information
hasundue committed Mar 5, 2024
1 parent 7f1ed08 commit 0aaabb5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
22 changes: 10 additions & 12 deletions test/integration/registries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,53 +17,51 @@ const SPECS = [
],
[
"npm:",
"npm:preact@10.5.5",
"npm:preact@10.19.0",
],
[
"jsr:",
"jsr:@std/semver@0.210.0",
"jsr:@std/jsonc@0.210.0",
],
[
"cdn.jsdelivr.net/npm",
"https://cdn.jsdelivr.net/npm/preact@10.5.5",
"https://cdn.jsdelivr.net/npm/preact@10.19.0",
],
[
"cdn.jsdelivr.net/gh",
"https://cdn.jsdelivr.net/gh/hasundue/molt@e4509a9/lib/path.ts",
"https://cdn.jsdelivr.net/gh/hasundue/molt@8a4a9a7/lib/path.ts",
],
[
"cdn.skypack.dev",
"https://cdn.skypack.dev/preact@10.5.5",
"https://cdn.skypack.dev/preact@10.19.0",
],
[
"ga.jspm.io",
"https://ga.jspm.io/npm:lit-html@2.7.0/development/is-server.js",
],
/**
[
"esm.run",
"https://esm.run/preact@10.5.5",
"https://esm.run/preact@10.19.0",
],
*/
[
"esm.sh",
"https://esm.sh/preact@10.5.5",
"https://esm.sh/preact@10.19.0",
],
[
"x.nest.land",
"https://x.nest.land/parsec@0.1.0/mod.ts",
],
[
"pax.deno.dev",
"https://pax.deno.dev/hasundue/molt@e4509a9/lib/path.ts",
"https://pax.deno.dev/hasundue/molt@8a4a9a7/lib/path.ts",
],
[
"raw.githubusercontent.com",
"https://raw.githubusercontent.com/hasundue/molt/e4509a9/lib/path.ts",
"https://raw.githubusercontent.com/hasundue/molt/8a4a9a7/lib/path.ts",
],
[
"unpkg.com",
"https://unpkg.com/preact@10.5.5",
"https://unpkg.com/preact@10.19.0",
],
] satisfies RegistryTestSpec[];

Expand Down
6 changes: 6 additions & 0 deletions test/snapshots/registries.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ snapshot[`registry - ga.jspm.io 2`] = `true`;

snapshot[`registry - ga.jspm.io 3`] = `false`;

snapshot[`registry - esm.run 1`] = `true`;

snapshot[`registry - esm.run 2`] = `true`;

snapshot[`registry - esm.run 3`] = `false`;

snapshot[`registry - esm.sh 1`] = `true`;

snapshot[`registry - esm.sh 2`] = `true`;
Expand Down

0 comments on commit 0aaabb5

Please sign in to comment.