From 95ab1e0627bedfad533393880c17eb7defbcfb13 Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Thu, 16 Nov 2023 12:24:24 +0000 Subject: [PATCH] test: fix test to cover null value returned as [0] --- packages/nocodb/tests/unit/rest/tests/groupby.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nocodb/tests/unit/rest/tests/groupby.test.ts b/packages/nocodb/tests/unit/rest/tests/groupby.test.ts index fd4aa99020..1be14ae120 100644 --- a/packages/nocodb/tests/unit/rest/tests/groupby.test.ts +++ b/packages/nocodb/tests/unit/rest/tests/groupby.test.ts @@ -299,7 +299,7 @@ function groupByTests() { expect(response.body.list.length).to.equal(1); }); - it.only('Check One GroupBy Column with MM Lookup which is supported', async function () { + it('Check One GroupBy Column with MM Lookup which is supported', async function () { await createLookupColumn(context, { base: sakilaProject, title: 'ActorNames', @@ -316,7 +316,7 @@ function groupByTests() { }) .expect(200); - assert.match(response.body.list[0]['ActorNames'], /ADAM/); + assert.match(response.body.list[1]['ActorNames'], /ADAM/); expect(+response.body.list[0]['count']).to.equal(1); expect(response.body.list.length).to.equal(25); });