From 02acf95cfe45efa81dda2e7c276de5a719da7412 Mon Sep 17 00:00:00 2001 From: yashkohli88 Date: Wed, 30 Oct 2024 14:13:28 +0530 Subject: [PATCH] Update deepStrictEqualExpectedEntries comparisons to omit additional fields --- .../test/integration/e2e-test-service/definitionTest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/integration/test/integration/e2e-test-service/definitionTest.js b/tools/integration/test/integration/e2e-test-service/definitionTest.js index 0e88213..8ee9b35 100644 --- a/tools/integration/test/integration/e2e-test-service/definitionTest.js +++ b/tools/integration/test/integration/e2e-test-service/definitionTest.js @@ -37,7 +37,7 @@ const fs = require('fs') findDefinition(coordinates), getDefinition(devApiBaseUrl, coordinates) ]) - deepStrictEqualExpectedEntries(foundDef, omit(expectedDef, ['files'])) + deepStrictEqualExpectedEntries(foundDef, omit(expectedDef, ['files', '_id'])) }) })