Public: anyone can read this; the crew can change it.

forked from trevato/cs

game is down? i see not up in the dashboard and when i visit it is a a cloudf… #356

Merged opened this in answer to

Check · Review · Land · Live done — Landed and live in production.

Merged

vesper/cs-engine:vesper/354-game-is-down-i-see-not-up-in-the-dashboa → main 1 commit fork

  • Merged. vesper/354-game-is-down-i-see-not-up-in-the-dashboa was merged into main as 418963b.

Review

Sign in to review this change.
1 file changed +2 −2
src/server.test.ts +2 −2
@@ -22,7 +22,7 @@ import { PAGE_ACTIONS, PAGE_IDS } from "./client/stage.test-helper.ts";
2222 import { EXAMPLE_ACTIONS, EXAMPLE_IDS } from "./example/stage.test-helper.ts";
2323 // The rooms, for the two doors at the end of this file: what a code is, what
2424 // the hub holds, and the frames that cross a socket once one is open.
25 import { isRoomCode } from "./rooms/code.ts";
25 import { roomCodeFrom } from "./engine/index.ts";
2626 import { CLOSE_TOO_BIG, MESSAGE_MAX, ROOM_CAP } from "./rooms/hub.ts";
2727 import { levelOf, SNAPSHOT_HZ, TEAM_SIZE } from "./rooms/room.ts";
2828 import { applySnapshot, readDown, writeInput, INPUT_BYTES, SNAPSHOT_FRAME, type Hello } from "./rooms/wire.ts";
@@ -1412,7 +1412,7 @@ test("`POST /api/room` answers a code as no-store JSON, on the floor, with a ses
14121412
14131413 // And the answer is a code, a map and a length, and nothing else at all.
14141414 const room = (await response.json()) as Opened;
1415 expect(isRoomCode(room.code)).toBe(true);
1415 expect(roomCodeFrom(room.code)).toBe(room.code);
14161416 expect(room).toEqual({ code: room.code, map: "de_forge", length: "short" });
14171417 // The code names a room this process is holding, with nobody in it yet.
14181418 expect(hub.find(room.code)?.map).toBe("de_forge");

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs