maybe don't delete collectstatic static/tests/ dir

This commit is contained in:
Disco DeDisco
2026-03-29 23:39:03 -04:00
parent 224f5e2ad0
commit fb782cf5ef
14 changed files with 15894 additions and 206 deletions

View File

@@ -188,6 +188,14 @@ describe("RoleSelect", () => {
testDiv.appendChild(stack);
});
it("calls Tray.forceClose() on turn change", () => {
spyOn(Tray, "forceClose");
window.dispatchEvent(new CustomEvent("room:turn_changed", {
detail: { active_slot: 2 }
}));
expect(Tray.forceClose).toHaveBeenCalled();
});
it("moves .active to the newly active seat", () => {
window.dispatchEvent(new CustomEvent("room:turn_changed", {
detail: { active_slot: 2 }