summaryrefslogtreecommitdiff
path: root/test/parallel/test-domain-nested.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2015-09-27 15:31:36 -0700
committerRich Trott <rtrott@gmail.com>2015-10-01 20:16:35 -0700
commit02fe8215f09ce8a89a5cd4e76cbd78a59771c96e (patch)
tree5353cb92d81c803a656efee7195486bb8ba18d8c /test/parallel/test-domain-nested.js
parent9bd26e7ffaf34de5a083c580b51d9f443be2583c (diff)
downloadandroid-node-v8-02fe8215f09ce8a89a5cd4e76cbd78a59771c96e.tar.gz
android-node-v8-02fe8215f09ce8a89a5cd4e76cbd78a59771c96e.tar.bz2
android-node-v8-02fe8215f09ce8a89a5cd4e76cbd78a59771c96e.zip
test: load common.js to test for global leaks
common.js contains code that checks for variables leaking into the global namespace. Load common.js in all tests that do not intentionally leak variables. PR-URL: https://github.com/nodejs/node/pull/3095 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'test/parallel/test-domain-nested.js')
-rw-r--r--test/parallel/test-domain-nested.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/parallel/test-domain-nested.js b/test/parallel/test-domain-nested.js
index d0ef072339..68c56d0c3c 100644
--- a/test/parallel/test-domain-nested.js
+++ b/test/parallel/test-domain-nested.js
@@ -1,6 +1,7 @@
'use strict';
// Make sure that the nested domains don't cause the domain stack to grow
+require('../common');
var assert = require('assert');
var domain = require('domain');