summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/manual-tests/lua-cli.js2
-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
6 files changed, 13 insertions, 1 deletions
diff --git a/tests/manual-tests/lua-cli.js b/tests/manual-tests/lua-cli.js
index 5e47b93..378b5f7 100755
--- a/tests/manual-tests/lua-cli.js
+++ b/tests/manual-tests/lua-cli.js
@@ -1,6 +1,8 @@
#!/usr/bin/env node
"use strict";
+global.WEB = false;
+
const lua = require('../../src/lua.js');
const lauxlib = require('../../src/lauxlib.js');
const readlineSync = require('readline-sync');
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
+});