Skip to content

Commit

Permalink
chore(core): simplify test case
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinfreund committed Jan 18, 2025
1 parent dff3a3d commit 70d1973
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/test-files/035.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { TestCase } from '#lib/calculateScore.test.js'
import type { InitialCard } from '#lib/types.js'

export default (message: string): TestCase => {
return {
Expand All @@ -8,8 +7,7 @@ export default (message: string): TestCase => {
deck: 'Plasma Deck',
cards: [
{ played: true, rank: 'King', suit: 'Hearts', enhancement: 'glass', seal: 'red' },
...Array.from({ length: 717 })
.map<InitialCard>(() => ({ rank: 'King', suit: 'Hearts', enhancement: 'steel', seal: 'red' })),
{ rank: 'King', suit: 'Hearts', enhancement: 'steel', seal: 'red', count: 717 },
],
jokers: [
{ name: 'Baron', edition: 'polychrome' },
Expand Down

0 comments on commit 70d1973

Please sign in to comment.