maybe don't delete collectstatic static/tests/ dir
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user