All unit tests passing, all 3 methods of initializing working

This commit is contained in:
metacryst
2024-03-19 22:17:01 +01:00
parent b1d2370c0b
commit c0ccb138d1
6 changed files with 158 additions and 78 deletions

View File

@@ -1,8 +1,8 @@
console.log("Tests initializing.")
window.testSuites = [];
import ("./parse.test.js")
import ("./shadow.test.js")
await import ("./parse.test.js")
await import ("./shadow.test.js")
window.test = async function() {
// window.testSuites.sort();
@@ -62,4 +62,6 @@ window.test = async function() {
window.wait = ms => new Promise(res => setTimeout(res, ms));
window.__defineGetter__("test", test);
window.__defineGetter__("test", test);
window.test