Skip to content

Commit fc27f51

Browse files
committed
fix(scenario): consecutive "wait-serial" commands still fail matching in some cases #13
1 parent 6d639c5 commit fc27f51

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/ExpectEngine.ts

-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ export class ExpectEngine extends EventEmitter {
1111
}
1212

1313
feed(bytes: number[]) {
14-
if (this.expectTexts.length === 0 && this.failTexts.length === 0) {
15-
return;
16-
}
1714
for (const byte of bytes) {
1815
const char = String.fromCharCode(byte);
1916
if (char === '\n') {

0 commit comments

Comments
 (0)