summaryrefslogtreecommitdiff
path: root/tests/test-suite
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-suite')
-rw-r--r--tests/test-suite/calls.js2
-rw-r--r--tests/test-suite/constructs.js2
-rw-r--r--tests/test-suite/locals.js2
-rw-r--r--tests/test-suite/strings.js2
-rw-r--r--tests/test-suite/vararg.js4
5 files changed, 11 insertions, 1 deletions
diff --git a/tests/test-suite/calls.js b/tests/test-suite/calls.js
index 15e9998..63d7f35 100644
--- a/tests/test-suite/calls.js
+++ b/tests/test-suite/calls.js
@@ -2,6 +2,8 @@
const test = require('tape');
+global.WEB = false;
+
const lauxlib = require("../../src/lauxlib.js");
const lua = require('../../src/lua.js');
diff --git a/tests/test-suite/constructs.js b/tests/test-suite/constructs.js
index da5d979..b6a44cf 100644
--- a/tests/test-suite/constructs.js
+++ b/tests/test-suite/constructs.js
@@ -2,6 +2,8 @@
const test = require('tape');
+global.WEB = false;
+
const lauxlib = require("../../src/lauxlib.js");
const lua = require('../../src/lua.js');
diff --git a/tests/test-suite/locals.js b/tests/test-suite/locals.js
index 93dd27c..78eb24d 100644
--- a/tests/test-suite/locals.js
+++ b/tests/test-suite/locals.js
@@ -2,6 +2,8 @@
const test = require('tape');
+global.WEB = false;
+
const lauxlib = require("../../src/lauxlib.js");
const lua = require('../../src/lua.js');
diff --git a/tests/test-suite/strings.js b/tests/test-suite/strings.js
index 48f742c..033b324 100644
--- a/tests/test-suite/strings.js
+++ b/tests/test-suite/strings.js
@@ -2,6 +2,8 @@
const test = require('tape');
+global.WEB = false;
+
const lauxlib = require("../../src/lauxlib.js");
const lua = require('../../src/lua.js');
diff --git a/tests/test-suite/vararg.js b/tests/test-suite/vararg.js
index 3fbb8b8..0dab1b6 100644
--- a/tests/test-suite/vararg.js
+++ b/tests/test-suite/vararg.js
@@ -2,6 +2,8 @@
const test = require('tape');
+global.WEB = false;
+
const lauxlib = require("../../src/lauxlib.js");
const lua = require('../../src/lua.js');
@@ -223,4 +225,4 @@ test("[test-suite] vararg: bug in 5.2.2", function (t) {
}, "Lua program ran without error");
-}); \ No newline at end of file
+});