meta {
  name: GET cooldown snapshot
  type: http
  seq: 1
}

docs {
  NEO-32: expired slot entries are pruned when building the snapshot (server-side store hygiene).
}

get {
  url: {{baseUrl}}/game/players/dev-local-1/cooldown-snapshot
  body: none
  auth: none
}

tests {
  test("status 200", function () {
    expect(res.getStatus()).to.equal(200);
  });

  test("schema and eight slots", function () {
    const body = res.getBody();
    expect(body.schemaVersion).to.equal(1);
    expect(body.playerId).to.equal("dev-local-1");
    expect(Array.isArray(body.slots)).to.equal(true);
    expect(body.slots.length).to.equal(8);
  });
}
