mirror of
https://github.com/cloudflare/workers-rs.git
synced 2025-12-08 18:01:59 +00:00
13 lines
391 B
TypeScript
13 lines
391 B
TypeScript
import {describe, test, expect} from "vitest";
|
|
import { mf, mfUrl } from "./mf-socket";
|
|
|
|
describe("socket", () => {
|
|
test("failed", async () => {
|
|
const resp = await mf.dispatchFetch(`${mfUrl}socket/failed`);
|
|
expect(resp.status).toBe(200);
|
|
});
|
|
test("read", async () => {
|
|
const resp = await mf.dispatchFetch(`${mfUrl}socket/read`);
|
|
expect(resp.status).toBe(200);
|
|
});
|
|
}); |