mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
8 lines
229 B
JavaScript
8 lines
229 B
JavaScript
import { expect, test } from "bun:test";
|
|
import { Request } from "node-fetch";
|
|
|
|
test("new Request('/') works with node-fetch", () => {
|
|
expect(() => new Request("/")).not.toThrow();
|
|
expect(new Request("/").url).toBe("/");
|
|
});
|