summaryrefslogtreecommitdiff
path: root/tests/integration.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration.test.ts')
-rw-r--r--tests/integration.test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration.test.ts b/tests/integration.test.ts
index eb478f7..3aebe38 100644
--- a/tests/integration.test.ts
+++ b/tests/integration.test.ts
@@ -21,7 +21,7 @@ async function syncBlockchain(wallet: Wallet): Promise<bigint> {
clearTimeout(timeout);
resolve(blockChainHeight);
} else {
- setTimeout(poll, 500);
+ timeout = setTimeout(poll, 500);
}
};