deno.land / x / esm@v135_2 / test / issue-705 / issue-705.test.ts

issue-705.test.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { assertEquals, assertStringIncludes,} from "https://deno.land/std@0.180.0/testing/asserts.ts";
Deno.test("issue #705", async () => { const { version } = await fetch("http://localhost:8080/status.json").then(( res, ) => res.json()); const dts = await fetch( `http://localhost:8080/v${version}/shikiji@0.3.3/dist/index.d.mts`, ).then((res) => res.text()); const { default: nord } = await import( `http://localhost:8080/v${version}/shikiji@0.3.3/es2022/dist/themes/nord.js` ); assertStringIncludes(dts, "'./types/types.d.mts'"); assertEquals(nord.name, "nord");});
esm

Version Info

Tagged at
a year ago