1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-30 22:08:02 +00:00
_/bun/hello.test.ts
2022-07-07 14:41:34 +09:00

7 lines
200 B
TypeScript

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!");
});