From d74ad81402c27113b2ed5586bc369703d6be61c4 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Mon, 13 Apr 2020 10:31:13 -0700 Subject: 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. --- Libraries/LibJS/Tests/array-basic.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Libraries/LibJS/Tests/array-basic.js') diff --git a/Libraries/LibJS/Tests/array-basic.js b/Libraries/LibJS/Tests/array-basic.js index 7298fab672..bfd1064da7 100644 --- a/Libraries/LibJS/Tests/array-basic.js +++ b/Libraries/LibJS/Tests/array-basic.js @@ -1,3 +1,5 @@ +load("test-common.js"); + try { var a = [1, 2, 3]; -- cgit v1.2.3