From 3e113a3165993b381ab7ee746784612cd8393006 Mon Sep 17 00:00:00 2001 From: Islam Shehata Date: Thu, 16 Nov 2023 14:41:57 +0200 Subject: [PATCH] fix e2e test --- e2e/nextjs-app/test/ingest.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/nextjs-app/test/ingest.spec.ts b/e2e/nextjs-app/test/ingest.spec.ts index 85fbc98e..0bde9955 100644 --- a/e2e/nextjs-app/test/ingest.spec.ts +++ b/e2e/nextjs-app/test/ingest.spec.ts @@ -36,7 +36,7 @@ describe('Ingestion & query on different runtime', () => { }); expect(qResp.status).toBeDefined(); expect(qResp.tables).toBeDefined(); - expect(qResp.tables).toHaveLength(2); + expect(qResp.tables).toHaveLength(1); expect(qResp.tables[0].columns).toHaveLength(2); expect(qResp.tables[0].columns[0].data.foo).toEqual('bar'); expect(qResp.tables[0].columns[1].data.bar).toEqual('baz'); @@ -58,7 +58,7 @@ describe('Ingestion & query on different runtime', () => { }); expect(qResp.status).toBeDefined(); expect(qResp.tables).toBeDefined(); - expect(qResp.tables).toHaveLength(2); + expect(qResp.tables).toHaveLength(1); expect(qResp.tables[0].columns).toHaveLength(2); expect(qResp.tables[0].columns[0].data.foo).toEqual('bar'); expect(qResp.tables[0].columns[1].data.bar).toEqual('baz');