File tree Expand file tree Collapse file tree 2 files changed +16
-6
lines changed
Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -190,17 +190,24 @@ describe('node feature', function() {
190190 return assert . equal ( Buffer . byteLength ( p . innerText ) , 13 ) ;
191191 } ) ;
192192 } ) ;
193+
193194 describe ( 'process.stdout' , function ( ) {
194195 it ( 'should not throw exception' , function ( ) {
195- return process . stdout ;
196+ process . stdout ;
196197 } ) ;
197- return xit ( 'should have isTTY defined' , function ( ) {
198- return assert . equal ( typeof process . stdout . isTTY , 'boolean' ) ;
198+
199+ it ( 'should not throw exception when calling write()' , function ( ) {
200+ process . stdout . write ( 'test' ) ;
201+ } ) ;
202+
203+ xit ( 'should have isTTY defined' , function ( ) {
204+ assert . equal ( typeof process . stdout . isTTY , 'boolean' ) ;
199205 } ) ;
200206 } ) ;
201- return describe ( 'vm.createContext' , function ( ) {
202- return it ( 'should not crash' , function ( ) {
203- return require ( 'vm' ) . runInNewContext ( '' ) ;
207+
208+ describe ( 'vm.createContext' , function ( ) {
209+ it ( 'should not crash' , function ( ) {
210+ require ( 'vm' ) . runInNewContext ( '' ) ;
204211 } ) ;
205212 } ) ;
206213} ) ;
Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ app.commandLine.appendSwitch('disable-renderer-backgrounding');
2828// sure we can reproduce it in renderer process.
2929process . stdout ;
3030
31+ // Access console to reproduce #3482.
32+ console ;
33+
3134ipcMain . on ( 'message' , function ( event , arg ) {
3235 event . sender . send ( 'message' , arg ) ;
3336} ) ;
You can’t perform that action at this time.
0 commit comments