feat: initial backend store prototype
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 13s
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 13s
This commit is contained in:
12
store/src/routes/node/node.test.ts
Normal file
12
store/src/routes/node/node.test.ts
Normal 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" });
|
||||
});
|
||||
Reference in New Issue
Block a user