js/LibJS: Move test functions to pure javascript.

The addition of assert functions to Userland/js
was done before we had load(..) implemented. Now
that it exists, it seems like the right move the
test helper functions to pure javascript instead
of poluting js with random global functions.
This commit is contained in:
Brian Gianforcaro 2020-04-13 10:31:13 -07:00 committed by Andreas Kling
parent 9477efe970
commit d74ad81402
Notes: sideshowbarker 2024-07-19 07:36:39 +09:00
91 changed files with 193 additions and 19 deletions

View file

@ -1,3 +1,5 @@
load("test-common.js");
try {
i < 3;
} catch (e) {