nodes/store/src/routes/node/node.test.ts
Max Richter 9d4d67f086
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 13s
feat: initial backend store prototype
2024-12-17 18:15:21 +01:00

13 lines
320 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();
console.log({ json });
expect(true).toEqual(true);
expect(json).toEqual({ hello: "world" });
});