Skip to content

Commit

Permalink
mapPrismaScalarToPagePropTsType: Fix Decimal test case (redwoodjs#9846)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe committed Jan 18, 2024
1 parent 4f1cd09 commit 6d74a22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ describe('mapPrismaScalarToPagePropTsType', () => {
})

it('maps scalar type Decimal to TS type number', () => {
expect(helpers.mapPrismaScalarToPagePropTsType('Float')).toBe('number')
expect(helpers.mapPrismaScalarToPagePropTsType('Decimal')).toBe('number')
})

it('maps scalar type DateTime to TS type string', () => {
Expand Down

0 comments on commit 6d74a22

Please sign in to comment.