X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Ftest%2Ftests.mts;h=8f832e4279bda5cc240926a6ca77b681a9f0c6c4;hb=0ad910f3687d1d30d31c47e9210952ef090558e3;hp=85c1fb3c1dd71c6912b4e1f9f538fce344dca5c7;hpb=941cd1b9d1e9fdfb126869a3e150f546fc6edcda;p=ldk-java diff --git a/ts/test/tests.mts b/ts/test/tests.mts index 85c1fb3c..8f832e42 100644 --- a/ts/test/tests.mts +++ b/ts/test/tests.mts @@ -1,7 +1,7 @@ import * as rawldk from "../bindings.mjs"; import * as ldk from "../index.mjs"; -const tests = []; +const tests: Array = []; tests.push(async () => { const result = rawldk.CResult_boolLightningErrorZ_ok(true); @@ -45,7 +45,7 @@ tests.push(async () => { return true; }); -export async function run_tests(wasm_path) { +export async function run_tests(wasm_path: string) { await rawldk.initializeWasm(wasm_path); var test_runs = [];