Skip to content

Commit 56998f2

Browse files
committed
JS: Accept test changes.
1 parent 3c47288 commit 56998f2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎javascript/ql/test/library-tests/frameworks/NodeJSLib/stream-pipe.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class DirectDestination extends Writable {
99

1010
class PipedDestination extends Writable {
1111
write(chunk) {
12-
consumeChunk(chunk); // $ MISSING: flow=piped flow=piped-second
12+
consumeChunk(chunk); // $ flow=piped flow=piped-second
1313
return true;
1414
}
1515
}
@@ -20,7 +20,7 @@ Readable.from([source("piped"), source("piped-second")]).pipe(new PipedDestinati
2020

2121
class SetDestination extends Writable {
2222
write(chunk) {
23-
consumeChunk(chunk); // $ MISSING: flow=set
23+
consumeChunk(chunk); // $ flow=set
2424
return true;
2525
}
2626
}
@@ -29,7 +29,7 @@ Readable.from(new Set([source("set")])).pipe(new SetDestination());
2929

3030
class GeneratorDestination extends Writable {
3131
write(chunk) {
32-
consumeChunk(chunk); // $ MISSING: flow=generator
32+
consumeChunk(chunk); // $ flow=generator
3333
return true;
3434
}
3535
}
@@ -58,14 +58,14 @@ class ReceiverDestination extends Writable {
5858
}
5959

6060
write(chunk) {
61-
consumeChunk(this.value); // $ MISSING: flow=receiver
61+
consumeChunk(this.value); // $ flow=receiver
6262
return true;
6363
}
6464
}
6565

6666
const returnedDestination =
6767
Readable.from(["clean"]).pipe(new ReceiverDestination(source("receiver")));
68-
consumeChunk(returnedDestination.value); // $ MISSING: flow=receiver
68+
consumeChunk(returnedDestination.value); // $ flow=receiver
6969

7070
class UncalledDestination extends Writable {
7171
constructor(value) {

0 commit comments

Comments
 (0)