@@ -8,6 +8,7 @@ const {assign} = Object;
88test ( 'putout: engine-reporter: subscribe: keypress' , async ( t ) => {
99 const worker = new EventEmitter ( ) ;
1010 const isStop = stub ( ) ;
11+
1112 const keypress = stub ( ) . returns ( {
1213 isStop,
1314 } ) ;
@@ -37,6 +38,7 @@ test('putout: engine-reporter: subscribe: keypress', async (t) => {
3738test ( 'putout: engine-reporter: subscribe: createReport' , async ( t ) => {
3839 const worker = new EventEmitter ( ) ;
3940 const isStop = stub ( ) ;
41+
4042 const keypress = stub ( ) . returns ( {
4143 isStop,
4244 } ) ;
@@ -72,6 +74,7 @@ test('putout: engine-reporter: subscribe: createReport', async (t) => {
7274test ( 'putout: engine-reporter: subscribe: worker: message: progress' , async ( t ) => {
7375 const worker = new EventEmitter ( ) ;
7476 const isStop = stub ( ) ;
77+
7578 const keypress = stub ( ) . returns ( {
7679 isStop,
7780 } ) ;
@@ -105,6 +108,7 @@ test('putout: engine-reporter: subscribe: worker: message: progress', async (t)
105108test ( 'putout: engine-reporter: subscribe: worker: message: progress: write' , async ( t ) => {
106109 const worker = new EventEmitter ( ) ;
107110 const isStop = stub ( ) ;
111+
108112 const keypress = stub ( ) . returns ( {
109113 isStop,
110114 } ) ;
@@ -140,6 +144,7 @@ test('putout: engine-reporter: subscribe: worker: message: progress: write', asy
140144test ( 'putout: engine-reporter: subscribe: worker: message: progress: write: line' , async ( t ) => {
141145 const worker = new EventEmitter ( ) ;
142146 const isStop = stub ( ) ;
147+
143148 const keypress = stub ( ) . returns ( {
144149 isStop,
145150 } ) ;
@@ -173,6 +178,7 @@ test('putout: engine-reporter: subscribe: worker: message: progress: write: line
173178test ( 'putout: engine-reporter: subscribe: worker: message' , async ( t ) => {
174179 const worker = new EventEmitter ( ) ;
175180 const isStop = stub ( ) ;
181+
176182 const keypress = stub ( ) . returns ( {
177183 isStop,
178184 } ) ;
0 commit comments