From e76c0720ae99d08fce859bafe7cc31da6645b4c0 Mon Sep 17 00:00:00 2001 From: Orion C Date: Wed, 3 Apr 2024 12:51:26 +0200 Subject: [PATCH] Debug --- src/commands/__tests__/index.integration.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/commands/__tests__/index.integration.ts b/src/commands/__tests__/index.integration.ts index 48f3c71..8aa979f 100644 --- a/src/commands/__tests__/index.integration.ts +++ b/src/commands/__tests__/index.integration.ts @@ -105,7 +105,10 @@ describe("Perform indexation", () => { throw new Error(`${r.warnings}`); } expect(r.body.hits.hits).toBeInstanceOf(Array); - expect(r.body.hits.total.value).toEqual(297); + expect(r.body.hits.total.value).toEqual(299); + console.log( + r.body.hits.hits.filter(hit => hit._source.siren === "000325175") + ); expect(r.body.hits.hits).toEqual( expect.arrayContaining([ expect.objectContaining({