1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-31 06:18:07 +00:00
_/bun/hello.test.ts

8 lines
200 B
TypeScript
Raw Normal View History

2022-07-07 14:41:34 +09:00
import { test, expect } from "bun:test";
import hello from "./hello";
test("response", async () => {
const res = hello.fetch(new Request(""));
expect(await res.text()).toBe("Hello, World!");
});