From 587325614a692db1286a2d7e7c1a2747c2f8cc1a Mon Sep 17 00:00:00 2001 From: Jost Schulte Date: Thu, 26 Sep 2024 18:57:18 -0600 Subject: [PATCH] fix test --- test/e2e/index.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/test/e2e/index.ts b/test/e2e/index.ts index 5206d8b7..1f63e1f4 100644 --- a/test/e2e/index.ts +++ b/test/e2e/index.ts @@ -28,6 +28,7 @@ import { generateSigningKeyPair, SignalType, Signal, + isSameCell, } from "../../src"; import { FIXTURE_PATH, @@ -239,9 +240,13 @@ test( const cellIds = await admin.listCellIds(); t.equal(cellIds.length, 2); assert(CellType.Provisioned in installedApp.cell_info[ROLE_NAME][0]); - t.deepEqual( - cellIds[0], - installedApp.cell_info[ROLE_NAME][0][CellType.Provisioned].cell_id + t.assert( + cellIds.some((cellId) => + isSameCell( + cellId, + installedApp.cell_info[ROLE_NAME][0][CellType.Provisioned].cell_id + ) + ) ); await admin.attachAppInterface({