WIP
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import { assertEquals } from "jsr:@std/assert";
|
||||
import { createSession } from "#/server/handler.ts";
|
||||
import handler from "./handler.ts";
|
||||
import { close, connect, flush, href, setup } from "./testSetup.ts";
|
||||
|
||||
Deno.test(
|
||||
"test",
|
||||
setup(async () => {
|
||||
const t1 = "123-abc";
|
||||
const [s1, m1] = await connect(`${href}?ticket=${t1}`);
|
||||
const sessionId = createSession();
|
||||
const [s1, m1] = await connect(`${href}?sessionId=${sessionId}`);
|
||||
await flush();
|
||||
assertEquals(m1, []);
|
||||
await close(s1);
|
||||
|
||||
Reference in New Issue
Block a user