This website requires JavaScript.
Explore
Help
Sign In
1berry
/
nodejs
Watch
1
Star
0
Fork
0
You've already forked nodejs
Code
Issues
Packages
Projects
Releases
Wiki
Activity
nodejs
/
test
/
parallel
/
test-stdin-resume-pause.js
5 lines
83 B
JavaScript
Raw
Normal View
History
Unescape
Escape
test: enable linting for tests Enable linting for the test directory. A number of changes was made so all tests conform the current rules used by lib and src directories. The only exception for tests is that unreachable (dead) code is allowed. test-fs-non-number-arguments-throw had to be excluded from the changes because of a weird issue on Windows CI. PR-URL: https://github.com/nodejs/io.js/pull/1721 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-05-19 13:00:06 +02:00
'use strict'
;
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>
2015-09-27 15:31:36 -07:00
require
(
'../common'
)
;
test: `stdin` isn't closed after `resume()` and `pause()` This works on `node v0.4.12`, but doesn't work on `node v0.6.2`
2011-10-25 01:57:43 +02:00
process
.
stdin
.
resume
(
)
;
process
.
stdin
.
pause
(
)
;
Reference in New Issue
Copy Permalink