Skip to content

Commit 6d74a22

Browse files
authored
mapPrismaScalarToPagePropTsType: Fix Decimal test case (#9846)
1 parent 4f1cd09 commit 6d74a22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/commands/generate/__tests__/helpers.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ describe('mapPrismaScalarToPagePropTsType', () => {
534534
})
535535

536536
it('maps scalar type Decimal to TS type number', () => {
537-
expect(helpers.mapPrismaScalarToPagePropTsType('Float')).toBe('number')
537+
expect(helpers.mapPrismaScalarToPagePropTsType('Decimal')).toBe('number')
538538
})
539539

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

0 commit comments

Comments
 (0)