aboutsummaryrefslogtreecommitdiff
path: root/tests/test-suite/attrib.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-12-10 01:01:43 +1100
committerdaurnimator <quae@daurnimator.com>2017-12-10 01:07:58 +1100
commit382bfe27205d5ade172fa088fcab0b2e123838e4 (patch)
tree394e24f93123e3efe75c8ef0d56007e8934e1c53 /tests/test-suite/attrib.js
parent4d8bd2b823eddada773a84e4004c380cf7de8762 (diff)
downloadfengari-382bfe27205d5ade172fa088fcab0b2e123838e4.tar.gz
fengari-382bfe27205d5ade172fa088fcab0b2e123838e4.tar.bz2
fengari-382bfe27205d5ade172fa088fcab0b2e123838e4.zip
Use `typeof process === "undefined"` instead of WEB global
This removes requirement to set global.WEB before requiring in node
Diffstat (limited to 'tests/test-suite/attrib.js')
-rw-r--r--tests/test-suite/attrib.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test-suite/attrib.js b/tests/test-suite/attrib.js
index d6c3803..fcd3271 100644
--- a/tests/test-suite/attrib.js
+++ b/tests/test-suite/attrib.js
@@ -2,8 +2,6 @@
const test = require('tape');
-global.WEB = false;
-
const lua = require('../../src/lua.js');
const lauxlib = require('../../src/lauxlib.js');
const lualib = require('../../src/lualib.js');