Add toString.

This commit is contained in:
David Braun 2017-10-18 14:28:01 -04:00
parent e1b638bef7
commit f07e849662
3 changed files with 12 additions and 1 deletions

View file

@ -356,6 +356,10 @@ describe(`Channel object`, function() {
assert(!await Channel.of(1, 3, 5).some(even));
});
it(`toString`, function() {
assert.equal(Channel(10).toString(), `Channel(10)`);
});
it(`value`, async function() {
const channel = Channel();
(async () => {