@@ -9,17 +9,19 @@ function createReportOutStream () {
99
1010 write : function ( text ) {
1111 this . data += text ;
12+ } ,
13+
14+ end : function ( ) {
1215 }
1316 } ;
1417}
1518
16-
1719it ( 'Should run tests' , function ( ) {
1820 var reportStream = createReportOutStream ( ) ;
1921
2022 var ps = gulpTestCafe ( {
2123 browsers : [ 'chrome' , 'firefox' ] ,
22- reporter : { outStream : reportStream }
24+ reporter : { output : reportStream }
2325 } ) ;
2426
2527
@@ -45,7 +47,7 @@ it('Should fail if tests fail', function () {
4547
4648 var ps = gulpTestCafe ( {
4749 browsers : [ 'chrome' ] ,
48- reporter : { outStream : reportStream }
50+ reporter : { output : reportStream }
4951 } ) ;
5052
5153 var resultsPromise = Promise . race ( [
@@ -72,7 +74,7 @@ it('Should fail if configuration is incorrect', function () {
7274
7375 var ps = gulpTestCafe ( {
7476 browsers : [ 'chrome' ] ,
75- reporter : { name : 'unknown' , outStream : reportStream } ,
77+ reporter : { name : 'unknown' , output : reportStream } ,
7678 } ) ;
7779
7880 var resultsPromise = Promise . race ( [
@@ -98,7 +100,7 @@ it('Should use multiple reporters', function () {
98100
99101 var ps = gulpTestCafe ( {
100102 browsers : [ 'chrome' , 'firefox' ] ,
101- reporter : [ { outStream : reportStream1 } , { name : 'json' , outStream : reportStream2 } ]
103+ reporter : [ { output : reportStream1 } , { name : 'json' , output : reportStream2 } ]
102104 } ) ;
103105
104106 var resultsPromise = Promise . race ( [
0 commit comments