deno.land / x / opine@2.3.4 / examples / hello-world / index.test.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
import { superdeno } from "../../test/deps.ts";import { describe, it } from "../../test/utils.ts";import { app } from "./index.ts";
describe("hello-world", () => { it("should respond with 'Hello Deno!' on the root path", (done) => { superdeno(app) .get("/") .expect(200, "Hello Deno!", done); });});
opine

Version Info

Tagged at
2 years ago