From dec92c2ef1786b8920fdf003dfc84c7272c8fa5a Mon Sep 17 00:00:00 2001 From: Tobbe Lundberg Date: Thu, 18 Jan 2024 11:52:36 +0100 Subject: [PATCH] mapPrismaScalarToPagePropTsType: Fix Decimal test case --- packages/cli/src/commands/generate/__tests__/helpers.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/commands/generate/__tests__/helpers.test.js b/packages/cli/src/commands/generate/__tests__/helpers.test.js index 1714901af7f0..4ab7310e733f 100644 --- a/packages/cli/src/commands/generate/__tests__/helpers.test.js +++ b/packages/cli/src/commands/generate/__tests__/helpers.test.js @@ -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', () => {