This commit is contained in:
@@ -57,7 +57,9 @@ it('upgrades version 17 without inventing reporter identity or changing historic
|
||||
last_seq: 0,
|
||||
report_count: 0
|
||||
});
|
||||
expect(handle.prepare('SELECT * FROM leaderboard_match_players').all()).toEqual(players);
|
||||
expect(handle.prepare('SELECT * FROM leaderboard_match_players').all()).toEqual(
|
||||
players.map((player) => ({ ...(player as Record<string, unknown>), score_total: null }))
|
||||
);
|
||||
expect(handle.prepare('SELECT * FROM match_chat').all()).toEqual(chat);
|
||||
expect(handle.prepare('SELECT * FROM leaderboard_match_reports').all()).toEqual([]);
|
||||
expect(handle.pragma('foreign_key_check')).toEqual([]);
|
||||
|
||||
Reference in New Issue
Block a user