From e88e16d11e8d197f27d292540a015cf05af6277f Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Wed, 10 May 2023 13:02:52 +0100 Subject: Tests: added tests for NJS loadable modules. --- test/njs/global_this/script.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/njs/global_this/script.js (limited to 'test/njs/global_this/script.js') diff --git a/test/njs/global_this/script.js b/test/njs/global_this/script.js new file mode 100644 index 00000000..cf9bc078 --- /dev/null +++ b/test/njs/global_this/script.js @@ -0,0 +1,3 @@ +export default { + "str" : function () {return typeof globalThis.njs.version} +} -- cgit