test: load common.js in all tests
authorRich Trott <rtrott@gmail.com>
Fri, 2 Oct 2015 04:37:12 +0000 (21:37 -0700)
committerJames M Snell <jasnell@gmail.com>
Thu, 8 Oct 2015 03:39:17 +0000 (20:39 -0700)
commitb7179562aa95400b5a88414ddd3e4815873eaabc
tree1047fcbd3468afdecdd25378c52caefdd08985a4
parent5d9f83ff2a47e64d372640265f63bf4a33e05566
test: load common.js in all tests

common.js contains code that detects leaked variables.

In preparation for an eslint rule that will enforce loading common.js in
test files, load it everywhere it can be loaded and use an
`eslint-disable` comment for files that intentionally leak.

PR-URL: https://github.com/nodejs/node/pull/3157
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
test/addons/async-hello-world/test.js
test/addons/at-exit/test.js
test/addons/heap-profiler/test.js
test/addons/hello-world-function-export/test.js
test/addons/hello-world/test.js
test/addons/repl-domain-abort/test.js
test/debugger/test-debugger-repl-break-in-module.js
test/debugger/test-debugger-repl-restart.js
test/debugger/test-debugger-repl-term.js
test/debugger/test-debugger-repl.js