feat: initial commit
This commit is contained in:
14
tests/route.test.ts
Normal file
14
tests/route.test.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { assertEquals } from "@std/assert";
|
||||
import { describe, it } from "@std/testing/bdd";
|
||||
|
||||
import { relay } from "./mocks/relay.ts";
|
||||
|
||||
describe("Relay", () => {
|
||||
it("should create a new user", async () => {
|
||||
const userId = await relay.post("/users", { name: "John Doe", email: "john.doe@fixture.none" });
|
||||
|
||||
console.log({ userId });
|
||||
|
||||
assertEquals(typeof userId, "string");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user