feat: initial backend store prototype
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 13s

This commit is contained in:
2024-12-17 18:15:21 +01:00
parent 5421349c79
commit 9d4d67f086
32 changed files with 2012 additions and 76 deletions

View File

@@ -0,0 +1,12 @@
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" });
});