forked from phenom/healer-man
Release Healer Man 0.1.47
This commit is contained in:
1 parent
9ff574ac0b
commit
2162039b49
24 files changed
+486
-55
No files matched your search
@@ -54,6 +54,23 @@ describe("dungeon simulation fixed clock", () => {
|
||||
});
|
||||
|
||||
describe("spectator roster and exact-hash approvals", () => {
|
||||
it("tracks the chosen party member and returns to follow mode when one is picked", () => {
|
||||
const store = useDungeonSimulationStore.getState();
|
||||
store.startLive({ dungeonId: route.dungeonId, route, mode: "navigation-only", seed: "camera" });
|
||||
expect(useDungeonSimulationStore.getState()).toMatchObject({
|
||||
cameraMode: "follow-member",
|
||||
spectatedMemberId: null,
|
||||
});
|
||||
store.setCameraMode("free-fly");
|
||||
store.setSpectatedMember("party-healer");
|
||||
expect(useDungeonSimulationStore.getState()).toMatchObject({
|
||||
cameraMode: "follow-member",
|
||||
spectatedMemberId: "party-healer",
|
||||
});
|
||||
store.leave();
|
||||
expect(useDungeonSimulationStore.getState().spectatedMemberId).toBeNull();
|
||||
});
|
||||
|
||||
it("creates a stable tank, healer, and three damage dealers", () => {
|
||||
const first = createSpectatorDungeonParty("same-seed", 80, "wow");
|
||||
const second = createSpectatorDungeonParty("same-seed", 80, "wow");
|
||||
|
||||
Reference in new issue
Block a user