Skip to content

Commit

Permalink
Merge pull request #132 from busywhistling/master
Browse files Browse the repository at this point in the history
feat: add XXS sized poker card
  • Loading branch information
andreashille authored Nov 27, 2023
2 parents 7dc581e + 1f922b4 commit a9c217a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions frontend/src/helpers/compareVotes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ describe('The compareCardValues function', () => {
{ value1: 'S', value2: 'M', result: -1 },
{ value1: 'XL', value2: VOTE_OBSERVER, result: -1 },
{ value1: 'XS', value2: 'M', result: -1 },
{ value1: 'XXS', value2: 'XS', result: -1 },
{ value1: 'XXS', value2: 'L', result: -1 },
{ value1: 'XXL', value2: 'XS', result: 1 },
{ value1: VOTE_OBSERVER, value2: 'S', result: 1 },
{ value1: VOTE_COFFEE, value2: 'XL', result: 1 },
Expand Down
2 changes: 1 addition & 1 deletion shared/cards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const SPECIAL_VALUES_ORDERED = ['∞', '?', VOTE_COFFEE] as const;

const ABSTAINING_VOTES_ORDERED = [VOTE_NOTE_VOTED, VOTE_OBSERVER] as const;

export const SIZES_ORDERED = ['XS', 'S', 'M', 'L', 'XL', 'XXL'] as const;
export const SIZES_ORDERED = ['XXS', 'XS', 'S', 'M', 'L', 'XL', 'XXL'] as const;

const NUMERIC_VALUES_ORDERED = [
'0',
Expand Down

0 comments on commit a9c217a

Please sign in to comment.