mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 06:18:07 +00:00
8 lines
200 B
TypeScript
8 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!");
|
||
|
});
|