Added types
This commit is contained in:
parent
afdba8fb8a
commit
c8c0fba502
12 changed files with 5029 additions and 697 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
const Channel = require("../../lib");
|
||||
const Channel = require(`../../lib`);
|
||||
|
||||
it(`doubleselect`, async function() {
|
||||
this.timeout(10 * 1000);
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
const Channel = require("../../lib");
|
||||
const Channel = require(`../../lib`);
|
||||
|
||||
it(`fifo`, function() {
|
||||
const N = 10;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
const Channel = require("../../lib");
|
||||
const Channel = require(`../../lib`);
|
||||
|
||||
it(`goroutines`, async function() {
|
||||
const f = async (left, right) => {
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"use strict";
|
||||
|
||||
const assert = require(`@nodeguy/assert`);
|
||||
const Channel = require("../../lib");
|
||||
const Channel = require(`../../lib`);
|
||||
|
||||
it(`perm`, function() {
|
||||
const c = Channel();
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
const Channel = require("../../lib");
|
||||
const Channel = require(`../../lib`);
|
||||
|
||||
it(`select`, async function() {
|
||||
const closed = Channel();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue