Fix #2.
This commit is contained in:
parent
a0e8ad6462
commit
95a575fd2d
2 changed files with 5 additions and 14 deletions
|
@ -314,12 +314,6 @@ describe(`Channel object`, function() {
|
|||
await channel.push(0, 1, 2);
|
||||
}, new Error(`Can't push more than one value at a time.`));
|
||||
});
|
||||
|
||||
it(`returns a frozen promise`, function() {
|
||||
assert.throws(() => {
|
||||
Channel().push(0).frozen = false;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
it(`readOnly`, async function() {
|
||||
|
@ -375,12 +369,6 @@ describe(`Channel object`, function() {
|
|||
|
||||
assert.equal(await channel.shift(), 0);
|
||||
});
|
||||
|
||||
it(`returns a frozen promise`, function() {
|
||||
assert.throws(() => {
|
||||
Channel().shift().frozen = false;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe(`slice`, function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue