node/test
Ben Noordhuis 213ede6cee repl: fix require('3rdparty') regression
Fix module loading of third-party modules in the REPL by inheriting
module.paths from the REPL's parent module.

Commit ee72ee7 ("module,repl: remove repl require() hack") introduced
a regression where require() of modules in node_modules directories
no longer worked in the REPL (and fortunately only in the REPL.)
It turns out we didn't have test coverage for that but we do now.

Fixes: https://github.com/nodejs/node/issues/4208
PR-URL: https://github.com/nodejs/node/pull/4215
Reviewed-By: Roman Reiss <me@silverwind.io>
2015-12-09 23:30:02 +01:00
..
abort src: honor --abort_on_uncaught_exception flag 2015-09-17 15:25:25 -05:00
addons test: fix path to module for repl test on Windows 2015-11-15 16:33:11 -08:00
cctest deps: check in gtest, add util unit test 2015-04-01 22:35:56 +02:00
debugger debugger: introduce exec method for debugger 2015-11-17 12:11:40 -08:00
disabled test: replace deprecated util.debug() calls 2015-09-28 11:15:06 -07:00
fixtures repl: fix require('3rdparty') regression 2015-12-09 23:30:02 +01:00
gc src: replace usage of v8::Handle with v8::Local 2015-09-06 21:38:05 +10:00
internet test: eliminate multicast test FreeBSD flakiness 2015-11-30 20:45:38 -08:00
message node: s/doNTCallbackX/nextTickCallbackWithXArgs/ 2015-12-07 23:44:26 +09:00
parallel repl: fix require('3rdparty') regression 2015-12-09 23:30:02 +01:00
pummel test: skip/replace weak crypto tests in FIPS mode 2015-11-19 16:31:11 -05:00
sequential module: fix column offsets in errors 2015-11-20 16:26:24 -05:00
testpy test: fix default value for additional param 2015-09-15 19:59:38 +05:30
timers test: enable linting for tests 2015-05-19 21:21:27 +02:00
.eslintrc test: make common.js mandatory via linting rule 2015-10-06 15:11:58 -07:00
common.js test: skip instead of fail when mem constrained 2015-12-02 15:00:27 -07:00