Skip to content

Commit

Permalink
Update packages/dnb-eufemia/src/components/input-masked/__tests__/Inp…
Browse files Browse the repository at this point in the history
…utMasked.test.tsx
  • Loading branch information
langz authored Oct 18, 2024
1 parent 961b68b commit 78d1dbe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ describe('InputMasked component with currency_mask', () => {
expect(document.querySelector('input').value).toBe('1 234 NOK')
})

it('should not append a comma when entering a dot', () => {
it('should not append a comma when entering a comma', () => {
render(<InputMasked value="12345,1" as_currency decimalLimit={0} />)

expect(document.querySelector('input').value).toBe('12 345 kr')
Expand Down

0 comments on commit 78d1dbe

Please sign in to comment.