Skip to content

Commit

Permalink
style change
Browse files Browse the repository at this point in the history
  • Loading branch information
Ckoenig1 committed May 26, 2021
1 parent 74c75c0 commit e2596bf
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/stats.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,7 @@ describe("when calculating stats", () => {
it("should count techs only a single time", () => {
const game = new SlippiGame("slp/techTest.slp");
const stats = game.getStats();
const expectedTech = {
backward: 2,
forward: 1,
neutral: 8,
fail: 4,
};
expect(stats?.actionCounts[1].groundTechCount).toEqual(expectedTech);
expect(stats?.actionCounts[1].groundTechCount).toEqual({ backward: 2, forward: 1, neutral: 8, fail: 4 });
expect(stats?.actionCounts[1].wallTechCount).toEqual({ success: 0, fail: 0 });
});
});
Expand Down

0 comments on commit e2596bf

Please sign in to comment.