From 0b731f440256c1d266f52ba0fe7f6691d5ffc055 Mon Sep 17 00:00:00 2001 From: Akash <2557058+aksdevac@users.noreply.github.com> Date: Thu, 15 Feb 2024 11:29:04 +0530 Subject: [PATCH] bigint sql test fix --- .../strapi-plugin-content-manager/tests/search.test.e2e.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/strapi-plugin-content-manager/tests/search.test.e2e.js b/packages/strapi-plugin-content-manager/tests/search.test.e2e.js index 572ca73c..73f47139 100644 --- a/packages/strapi-plugin-content-manager/tests/search.test.e2e.js +++ b/packages/strapi-plugin-content-manager/tests/search.test.e2e.js @@ -62,7 +62,8 @@ const bedFixtures = [ sku: 'sleepybed_0152', savEmail: 'sav@bed.fr', type: 'foam', - serialNumber: 9999999999999999n, + // eslint-disable-next-line no-loss-of-precision + serialNumber: 9999999999999999, peopleNumber: 6, fabricThickness: 1.14157, }, @@ -74,7 +75,7 @@ const bedFixtures = [ sku: 'tiredbed_0001', savEmail: 'sav@sleep.fr', type: 'feather', - serialNumber: 1111111111111111n, + serialNumber: 1111111111111111, peopleNumber: 1, fabricThickness: 1.0001, },