5 <h1><div id="results">Running LDK-TS Tests...</div></h1>
6 <script type="text/javascript">
10 import { run_tests } from './tests.mjs';
11 test_runner = run_tests;
13 const result = await run_tests('../liblightningjs.wasm');
14 if (result === true) {
15 document.getElementById("results").innerHTML = "All Tests Passed (note free-time errors may still occurr)!";
17 document.getElementById("results").innerHTML = "Some Tests Failed!";
21 document.getElementById("results").innerHTML = "Test failed with exception: " + e;