// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`gameStore dispatch joinGame joins game then updates current round 1`] = `
[MockFunction] {
  "calls": Array [
    Array [
      "test-game-id",
      "test-player-name",
    ],
  ],
  "results": Array [
    Object {
      "type": "return",
      "value": Object {
        "playerId": "test-player-id",
      },
    },
  ],
}
`;

exports[`gameStore dispatch joinGame joins game then updates current round 2`] = `
[MockFunction] {
  "calls": Array [
    Array [
      "test-game-id",
      "test-player-name",
      "test-player-id",
    ],
  ],
  "results": Array [
    Object {
      "type": "return",
      "value": undefined,
    },
  ],
}
`;

exports[`gameStore dispatch joinGame joins game then updates current round 3`] = `
[MockFunction] {
  "calls": Array [
    Array [
      "test-game-id",
      "test-player-id",
    ],
  ],
  "results": Array [
    Object {
      "type": "return",
      "value": Object {
        "coord": "coord",
        "currentRound": "round",
        "timer": "timer",
      },
    },
  ],
}
`;

exports[`gameStore dispatch rejoinGame rejoins game then updates current round 1`] = `[MockFunction]`;

exports[`gameStore dispatch rejoinGame rejoins game then updates current round 2`] = `
[MockFunction] {
  "calls": Array [
    Array [
      "test-game-id",
      "test-player-id",
    ],
  ],
  "results": Array [
    Object {
      "type": "return",
      "value": Object {
        "coord": "coord",
        "currentRound": "round",
        "timer": "timer",
      },
    },
  ],
}
`;

exports[`gameStore dispatch rejoinGame rejoins game then updates current round even with missing information 1`] = `[MockFunction]`;

exports[`gameStore dispatch rejoinGame rejoins game then updates current round even with missing information 2`] = `
[MockFunction] {
  "calls": Array [
    Array [
      "test-game-id",
      "test-player-id",
    ],
  ],
  "results": Array [
    Object {
      "type": "return",
      "value": Object {
        "coord": "coord",
        "currentRound": "round",
        "timer": "timer",
      },
    },
  ],
}
`;

exports[`gameStore dispatch submitGuess submits a timeout and then updates the current round 1`] = `
[MockFunction] {
  "calls": Array [
    Array [
      "test-game-id",
      null,
      "prev-round",
    ],
  ],
  "results": Array [
    Object {
      "type": "return",
      "value": Object {
        "score": 0,
        "totalScore": 2000,
      },
    },
  ],
}
`;

exports[`gameStore dispatch submitGuess submits a timeout and then updates the current round 2`] = `
[MockFunction] {
  "calls": Array [
    Array [],
  ],
  "results": Array [
    Object {
      "type": "return",
      "value": undefined,
    },
  ],
}
`;

exports[`gameStore dispatch submitGuess submits a timeout and then updates the current round 3`] = `
[MockFunction] {
  "calls": Array [
    Array [
      "test-game-id",
      null,
    ],
  ],
  "results": Array [
    Object {
      "type": "return",
      "value": Object {
        "coord": "coord",
        "currentRound": "round",
        "timer": "timer",
      },
    },
  ],
}
`;

exports[`gameStore dispatch submitGuess submits guess and then updates the current round 1`] = `
[MockFunction] {
  "calls": Array [
    Array [
      "test-game-id",
      null,
      "prev-round",
      "selected",
      200,
    ],
  ],
  "results": Array [
    Object {
      "type": "return",
      "value": Object {
        "score": 1000,
        "totalScore": 2000,
      },
    },
  ],
}
`;

exports[`gameStore dispatch submitGuess submits guess and then updates the current round 2`] = `
[MockFunction] {
  "calls": Array [
    Array [],
  ],
  "results": Array [
    Object {
      "type": "return",
      "value": undefined,
    },
  ],
}
`;

exports[`gameStore dispatch submitGuess submits guess and then updates the current round 3`] = `
[MockFunction] {
  "calls": Array [
    Array [
      "test-game-id",
      null,
    ],
  ],
  "results": Array [
    Object {
      "type": "return",
      "value": Object {
        "coord": "coord",
        "currentRound": "round",
        "timer": "timer",
      },
    },
  ],
}
`;

exports[`gameStore dispatch updateCurrentRound updates current round 1`] = `
[MockFunction] {
  "calls": Array [
    Array [
      null,
      null,
    ],
  ],
  "results": Array [
    Object {
      "type": "return",
      "value": Object {
        "coord": "coord",
        "currentRound": "round",
        "timer": "timer",
      },
    },
  ],
}
`;

exports[`gameStore dispatch updateRoundSeconds applies an update to round seconds 1`] = `
[MockFunction] {
  "calls": Array [
    Array [
      9,
    ],
  ],
  "results": Array [
    Object {
      "type": "return",
      "value": undefined,
    },
  ],
}
`;
