0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Rich Trott 338d09d25b test,repl: add coverage for repl .clear+useGlobal
Add a test to cover situation where REPL is initialized with `useGlobal`
set to `true` and `.clear` is called. This adds coverage for code in
repl.js that is not currently covered.

Includes minor refactor of rocket functions in repl.js for concision.

PR-URL: https://github.com/nodejs/node/pull/10777
Reviewed-By: James M Snell <jasnell@gmail.com>
2017-01-15 18:33:50 -08:00
..
internal util: improve readability of normalizeEncoding 2017-01-15 20:30:51 +08:00
_debug_agent.js debugger: use arrow function for lexical this 2016-08-18 16:44:38 -07:00
_debugger.js debugger: call this.resume() after this.run() 2016-12-05 14:25:39 -05:00
_http_agent.js http: eliminate capture of ClientRequest in Agent 2017-01-06 10:07:32 -08:00
_http_client.js http: misc ClientRequest cleanup 2017-01-13 16:11:18 -05:00
_http_common.js http: optimize default method case 2017-01-13 16:11:18 -05:00
_http_incoming.js http: try to avoid lowercasing incoming headers 2017-01-11 12:54:41 -05:00
_http_outgoing.js http: optimize default method case 2017-01-13 16:11:18 -05:00
_http_server.js http: misc optimizations and style fixes 2017-01-11 12:54:45 -05:00
_linklist.js lib: use emitWarning instead of printDeprecationMessage 2016-09-02 13:15:22 -07:00
_stream_duplex.js node: allow multiple arguments passed to nextTick 2015-04-15 17:02:21 -06:00
_stream_passthrough.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
_stream_readable.js tools: enforce linebreak after ternary operators 2016-12-22 20:27:59 -08:00
_stream_transform.js src: fixes misplaced comment 2016-09-30 09:47:09 -07:00
_stream_wrap.js test,lib,benchmark: match function names 2016-10-19 22:20:27 -07:00
_stream_writable.js stream: avoid instanceof 2017-01-11 12:55:04 -05:00
_tls_common.js tls: allow obvious key/passphrase combinations 2016-12-19 13:42:56 -08:00
_tls_legacy.js test,lib,benchmark: match function names 2016-10-19 22:20:27 -07:00
_tls_wrap.js tls: document and test option-less createServer 2016-12-12 08:15:36 -08:00
.eslintrc tools: avoid let in for loops 2016-10-14 13:37:12 -07:00
assert.js assert, tools: enforce strict (not)equal in eslint 2017-01-11 14:19:29 +00:00
buffer.js buffer: improve allocation performance 2016-12-27 14:57:06 -08:00
child_process.js child_process: support Uint8Array input to methods 2017-01-10 11:35:45 -08:00
cluster.js cluster: refactor module into multiple files 2017-01-13 17:01:07 -05:00
console.js console: name anonymous functions 2016-10-16 22:01:02 +02:00
constants.js constants: errors -> errno 2016-11-29 07:33:24 -05:00
crypto.js lib: refactor crypto cipher/hash/curve getters 2017-01-10 10:48:59 -08:00
dgram.js dgram: use Buffer.alloc(0) for zero-size buffers 2016-10-06 15:27:52 -07:00
dns.js dns: implement {ttl: true} for dns.resolve4() 2016-11-18 22:01:11 +01:00
domain.js test,lib,benchmark: match function names 2016-10-19 22:20:27 -07:00
events.js events: avoid emit() eager deopt 2017-01-05 12:33:10 -08:00
fs.js Revert "fs: ensure readFile[Sync] reads from the beginning" 2017-01-14 20:50:43 +01:00
http.js http: name anonymous functions in http 2016-10-18 15:38:43 -07:00
https.js https: Use secureProtocol in Agent#getName 2017-01-10 17:12:30 -08:00
module.js fs: export realpathCacheKey from internal/fs 2016-11-16 20:22:18 +01:00
net.js test,net: add tests for server.connections 2017-01-14 20:57:26 -08:00
os.js benchmark,lib,test: adjust for linting 2017-01-06 14:36:01 -08:00
path.js path: fallback to process cwd when resolving drive cwd 2016-09-24 01:14:56 +03:00
process.js src: remove excessive license boilerplate 2015-01-27 16:35:05 +11:00
punycode.js lib: remove let from for loops 2016-10-04 12:17:32 -04:00
querystring.js benchmark,test,lib: remove extra spaces 2016-05-11 23:18:16 -07:00
readline.js readline: refactor construct Interface 2017-01-13 22:49:35 +08:00
repl.js test,repl: add coverage for repl .clear+useGlobal 2017-01-15 18:33:50 -08:00
stream.js lib,src: remove usage of events.EventEmitter 2015-09-23 00:23:08 +05:30
string_decoder.js string_decoder: fix bad utf8 character handling 2016-06-23 23:18:10 -04:00
sys.js lib: use emitWarning instead of printDeprecationMessage 2016-09-02 13:15:22 -07:00
timers.js timers: fix handling of cleared immediates 2016-12-14 10:10:22 -05:00
tls.js lib: remove let from for loops 2016-10-04 12:17:32 -04:00
tty.js tty: set the handle to blocking mode 2016-08-10 23:41:28 +02:00
url.js url: move originFor, domainToAscii and domainToUnicode 2016-12-30 10:14:10 -08:00
util.js benchmark,lib,test: adjust for linting 2017-01-06 14:36:01 -08:00
v8.js lib,src: support values > 4GB in heap statistics 2016-12-11 14:45:52 +01:00
vm.js vm: name anonymous functions 2016-11-06 20:18:56 +02:00
zlib.js zlib: fix linting recently-introduced lint error 2016-11-08 16:40:56 -08:00