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

issue-765.test.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { assertStringIncludes } from "https://deno.land/std@0.180.0/testing/asserts.ts";
Deno.test("issue #765", async () => { const { version } = await fetch("http://localhost:8080/status.json").then(( res, ) => res.json());
const dts = await fetch( `http://localhost:8080/v${version}/openai@v4.20.0/index.d.mts`, ).then((res) => res.text());
assertStringIncludes( dts, `http://localhost:8080/v${version}/openai@4.20.0/resources/index.d.ts`, );
const dts2 = await fetch( `http://localhost:8080/v${version}/openai@v4.20.0/resources/index.d.ts`, ).then((res) => res.text());
assertStringIncludes(dts2, "ImagesResponse");});
esm

Version Info

Tagged at
a year ago