Skip to content

Commit

Permalink
Fix /api/master-duel/tier-list.php contract test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlul committed Oct 14, 2024
1 parent 11cb2e0 commit f4d6360
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/contract/ygoprodeck.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ describe("YGOPRODECK metagame API contracts", () => {
})
);
expect(strategy.season).toBeGreaterThan(0);
expect(strategy.win_count).toBeGreaterThan(0);
expect(strategy.loss_count).toBeGreaterThan(0);
expect(parseFloat(strategy.win_ratio)).toBeGreaterThan(0);
expect(strategy.win_count).toBeGreaterThanOrEqual(0);
expect(strategy.loss_count).toBeGreaterThanOrEqual(0);
expect(parseFloat(strategy.win_ratio)).toBeGreaterThanOrEqual(0);
expect(strategy.duel_count).toBeGreaterThan(0);
expect(parseFloat(strategy.average_turn_count)).toBeGreaterThan(0);
expect(parseFloat(strategy.median_turn_count)).toBeGreaterThan(0);
Expand Down

0 comments on commit f4d6360

Please sign in to comment.