Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 6s
12 lines
295 B
TypeScript
12 lines
295 B
TypeScript
import { expect } from "jsr:@std/expect";
|
|
import { router } from "../router.ts";
|
|
|
|
Deno.test("simple test", async () => {
|
|
const res = await router.request("/max/plants/test.json");
|
|
const json = await res.text();
|
|
|
|
expect(true).toEqual(true);
|
|
|
|
expect(json).toEqual({ hello: "world" });
|
|
});
|