Skip to content

Commit

Permalink
Expose stdin for future uses of runContinuous
Browse files Browse the repository at this point in the history
  • Loading branch information
rubennorte committed Nov 9, 2018
1 parent df7b3da commit 340d65c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions e2e/runJest.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ export const runContinuous = function(
return {stderr, stdout};
},

getInput() {
return jestPromise.stdin;
},

waitUntil(fn: ConditionFunction): Promise<void> {
return new Promise(resolve => {
const check = state => {
Expand Down

0 comments on commit 340d65c

Please sign in to comment.