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>
6 lines
174 B
JavaScript
6 lines
174 B
JavaScript
'use strict';
|
|
require('../common');
|
|
process.domain = null;
|
|
var timer = setTimeout(function() {
|
|
console.log('this console.log statement should not make node crash');
|
|
}, 1);
|