Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jost-s committed Sep 27, 2024
1 parent 23dc3c2 commit 5873256
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions test/e2e/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import {
generateSigningKeyPair,
SignalType,
Signal,
isSameCell,
} from "../../src";
import {
FIXTURE_PATH,
Expand Down Expand Up @@ -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({
Expand Down

0 comments on commit 5873256

Please sign in to comment.