Skip to content

Commit

Permalink
update testings
Browse files Browse the repository at this point in the history
  • Loading branch information
ije committed Nov 15, 2024
1 parent 14c2136 commit a71703c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions test/pkg.pr.new/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ Deno.test("pkg.pr.new routing", async () => {
const { Bench } = await import("http://localhost:8080/pr/tinybench@a832a55");
assertEquals(typeof Bench, "function");
}
{
const { Bench } = await import("http://localhost:8080/pr/tinylibs/tinybench@a832a55");
assertEquals(typeof Bench, "function");
}
{
const { Bench } = await import("http://localhost:8080/pr/tinylibs/tinybench/tinybench@a832a55");
assertEquals(typeof Bench, "function");
Expand All @@ -32,6 +36,22 @@ Deno.test("pkg.pr.new routing", async () => {
const { Bench } = await import("http://localhost:8080/pkg.pr.new/tinybench@a832a55");
assertEquals(typeof Bench, "function");
}
{
const { proxy } = await import("http://localhost:8080/pr/valtio@main");
assertEquals(typeof proxy, "function");
}
{
const { proxy } = await import("http://localhost:8080/pr/valtio@e21edb3");
assertEquals(typeof proxy, "function");
}
{
const { proxy } = await import("http://localhost:8080/pr/pmndrs/valtio@e21edb3");
assertEquals(typeof proxy, "function");
}
{
const { proxy } = await import("http://localhost:8080/pr/pmndrs/valtio/valtio@e21edb3");
assertEquals(typeof proxy, "function");
}
});

Deno.test("access pkg.pr.new raw files", async () => {
Expand Down

0 comments on commit a71703c

Please sign in to comment.