From a5de510ec544324bb2c6364211eb5daa08116e52 Mon Sep 17 00:00:00 2001 From: dtfiedler Date: Mon, 27 Nov 2023 14:55:38 -0800 Subject: [PATCH] fix(tests): force unwrap the interaction id in the test --- tests/integration/routes.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/integration/routes.test.ts b/tests/integration/routes.test.ts index f78c469..5cb262b 100644 --- a/tests/integration/routes.test.ts +++ b/tests/integration/routes.test.ts @@ -81,7 +81,6 @@ describe('Integration tests', () => { }, ); expect(writeInteraction?.originalTxId).to.not.be.undefined; - transferToAddress = address; const interactionBlock = await arweave.blocks.getCurrent(); contractInteractions.push({ height: interactionBlock.height, @@ -90,7 +89,7 @@ describe('Integration tests', () => { timestamp: Math.floor(interactionBlock.timestamp / 1000), sortKey: await interactionSorter.createSortKey( interactionBlock.hash, - writeInteraction?.originalTxId, + writeInteraction!.originalTxId, interactionBlock.height, ), valid: true,