From 7a99461078f6970c42f5c21f6a8fcdca65dddffa Mon Sep 17 00:00:00 2001 From: Anant Jain Date: Fri, 2 Feb 2024 15:21:33 +0530 Subject: [PATCH] chore: small fix for sonar issues+1 --- src/cdk/v2/destinations/rakuten/utils.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cdk/v2/destinations/rakuten/utils.test.js b/src/cdk/v2/destinations/rakuten/utils.test.js index d5e4527ada..9cc7f5fd4c 100644 --- a/src/cdk/v2/destinations/rakuten/utils.test.js +++ b/src/cdk/v2/destinations/rakuten/utils.test.js @@ -97,7 +97,7 @@ describe('constructLineItems', () => { }, ], }; - expect(() => constructLineItems(properties)).toThrow('quantity is required field. Aborting'); + expect(() => constructLineItems(properties)).toThrow('quantity is a required field. Aborting'); }); it('should throw an InstrumentationError when a product is missing both amount and price properties', () => { const properties = {