projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[TS] Make compiler checks a bit more aggressive, fix indentation
[ldk-java]
/
ts
/
test
/
tests.mts
diff --git
a/ts/test/tests.mts
b/ts/test/tests.mts
index 85c1fb3c1dd71c6912b4e1f9f538fce344dca5c7..8f832e4279bda5cc240926a6ca77b681a9f0c6c4 100644
(file)
--- 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";
import * as rawldk from "../bindings.mjs";
import * as ldk from "../index.mjs";
-const tests = [];
+const tests
: Array<Function>
= [];
tests.push(async () => {
const result = rawldk.CResult_boolLightningErrorZ_ok(true);
tests.push(async () => {
const result = rawldk.CResult_boolLightningErrorZ_ok(true);
@@
-45,7
+45,7
@@
tests.push(async () => {
return true;
});
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 = [];
await rawldk.initializeWasm(wasm_path);
var test_runs = [];