From 75319ad659b312d57fb3634a668db4da8f2cca99 Mon Sep 17 00:00:00 2001 From: 0xPatrick Date: Tue, 26 Nov 2024 17:16:00 -0500 Subject: [PATCH] test(send-anywhere): explicitly check result key is undefined --- packages/boot/test/orchestration/restart-contracts.test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/boot/test/orchestration/restart-contracts.test.ts b/packages/boot/test/orchestration/restart-contracts.test.ts index 8cae71baa2e..b727b8a74be 100644 --- a/packages/boot/test/orchestration/restart-contracts.test.ts +++ b/packages/boot/test/orchestration/restart-contracts.test.ts @@ -113,9 +113,12 @@ test.serial('send-anywhere', async t => { id: 'send-somewhere', numWantsSatisfied: 1, error: undefined, - result: undefined, }, }); + if (conclusion.updated !== 'offerStatus') { + throw new Error('expected offerStatus'); + } + t.true('result' in conclusion.status, 'transfer vow settled'); }); const validatorAddress: CosmosValidatorAddress = {