generated from nhcarrigan/template
chore: bump schema version to 2 for v0.4.0 balance pass
This commit is contained in:
@@ -8,4 +8,4 @@
|
|||||||
/**
|
/**
|
||||||
* The current game state schema version. Bump this whenever a breaking change is made to GameState.
|
* The current game state schema version. Bump this whenever a breaking change is made to GameState.
|
||||||
*/
|
*/
|
||||||
export const currentSchemaVersion = 1;
|
export const currentSchemaVersion = 2;
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ vi.mock("../../src/services/discord.js", () => ({
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
const DISCORD_ID = "test_discord_id";
|
const DISCORD_ID = "test_discord_id";
|
||||||
const CURRENT_SCHEMA_VERSION = 1;
|
const CURRENT_SCHEMA_VERSION = 2;
|
||||||
|
|
||||||
const makeState = (overrides: Partial<GameState> = {}): GameState => ({
|
const makeState = (overrides: Partial<GameState> = {}): GameState => ({
|
||||||
player: { discordId: DISCORD_ID, username: "u", discriminator: "0", avatar: null, totalGoldEarned: 0, totalClicks: 0, characterName: "T" },
|
player: { discordId: DISCORD_ID, username: "u", discriminator: "0", avatar: null, totalGoldEarned: 0, totalClicks: 0, characterName: "T" },
|
||||||
|
|||||||
Reference in New Issue
Block a user