Stop map
from returning buffered channels.
This commit is contained in:
parent
b426d67411
commit
3d17e23338
2 changed files with 2 additions and 3 deletions
|
@ -271,7 +271,6 @@ describe(`Channel object`, function() {
|
|||
await channel.push(`c`);
|
||||
await channel.close();
|
||||
const mapped = channel.map(value => value.toUpperCase());
|
||||
assert.equal(mapped.length, channel.length);
|
||||
assert.deepEqual(await mapped.values(), [`A`, `B`, `C`]);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue