projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[TS] Unify Web and Node.JS output so it can be universal
[ldk-java]
/
ts
/
test
/
index.html
diff --git
a/ts/test/index.html
b/ts/test/index.html
index 3fc55a6d2ef22697d83b9725343cd8de0942ce91..60fd523cf286fbcbc7adebaa0919ad67f5f1dfe5 100644
(file)
--- a/
ts/test/index.html
+++ b/
ts/test/index.html
@@
-7,10
+7,10
@@
var test_runner;
</script>
<script type="module">
var test_runner;
</script>
<script type="module">
- import { run_tests } from './tests.mjs';
- test_runner = run_tests;
+ import { run_tests
_web
} from './tests.mjs';
+ test_runner = run_tests
_web
;
try {
try {
- const result = await run_tests('../liblightningjs.wasm');
+ const result = await run_tests
_web
('../liblightningjs.wasm');
if (result === true) {
document.getElementById("results").innerHTML = "All Tests Passed (note free-time errors may still occurr)!";
} else {
if (result === true) {
document.getElementById("results").innerHTML = "All Tests Passed (note free-time errors may still occurr)!";
} else {