Skip to content

Commit

Permalink
✨ [#2] Fix one test
Browse files Browse the repository at this point in the history
  • Loading branch information
Viicos committed Oct 27, 2023
1 parent 6d6d1db commit de2d38a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-d/formio/components/currency.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ expectNotAssignable<CurrencyComponentSchema>({
hideLabel: true,
} as const);

expectNotAssignable<CurrencyComponentSchema>({
expectAssignable<CurrencyComponentSchema>({
id: '123',
type: 'currency',
key: 'aCurrency',
label: 'A currency',
currency: 'EUR',
multiple: true,
defaultValue: [],
} as const);
});

// invalid, only the number validators may be assignable
expectNotAssignable<CurrencyComponentSchema>({
Expand Down

0 comments on commit de2d38a

Please sign in to comment.