diff options
Diffstat (limited to 'Userland/Libraries/LibTest/JavaScriptTestRunner.h')
-rw-r--r-- | Userland/Libraries/LibTest/JavaScriptTestRunner.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibTest/JavaScriptTestRunner.h b/Userland/Libraries/LibTest/JavaScriptTestRunner.h index f53c27203d..4982f8294d 100644 --- a/Userland/Libraries/LibTest/JavaScriptTestRunner.h +++ b/Userland/Libraries/LibTest/JavaScriptTestRunner.h @@ -206,6 +206,7 @@ inline void TestRunnerGlobalObject::initialize_global_object(JS::Realm& realm) define_direct_property("global", this, JS::Attribute::Enumerable); for (auto& entry : s_exposed_global_functions) { define_native_function( + realm, entry.key, [fn = entry.value.function](auto& vm) { return fn(vm); }, |