diff --git a/package.json b/package.json index 01346e45..2ccdbb2e 100644 --- a/package.json +++ b/package.json @@ -78,13 +78,12 @@ "rxjs": "5.4.3", "shx": "0.2.2", "source-map-loader": "0.2.2", - "source-map-support": "0.5.0", "spawn-rx": "2.0.12", "tap-difflet": "0.7.0", - "tape": "4.8.0", + "tape-async": "2.3.0", "trash": "4.1.0", "ts-node": "3.3.0", - "tsickle": "0.24.1", + "tsickle": "0.23.3", "tslint": "5.7.0", "tsutils": "2.11.2", "typescript": "2.5.3", @@ -113,5 +112,10 @@ "experimentalProposal": { "asyncGenerators": true } + }, + "greenkeeper": { + "ignore": [ + "tsickle" + ] } } diff --git a/spec/asynciterable-operators/average-spec.ts b/spec/asynciterable-operators/average-spec.ts index 6876efaa..877d6f69 100644 --- a/spec/asynciterable-operators/average-spec.ts +++ b/spec/asynciterable-operators/average-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { average } = Ix.asynciterable; const { empty } = Ix.asynciterable; const { of } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/buffer-spec.ts b/spec/asynciterable-operators/buffer-spec.ts index a493e0ca..5189c31a 100644 --- a/spec/asynciterable-operators/buffer-spec.ts +++ b/spec/asynciterable-operators/buffer-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { buffer } = Ix.asynciterable; const { empty } = Ix.asynciterable; const { range } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/catch-spec.ts b/spec/asynciterable-operators/catch-spec.ts index 0cb149d2..07be28d5 100644 --- a/spec/asynciterable-operators/catch-spec.ts +++ b/spec/asynciterable-operators/catch-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { _catch } = Ix.asynciterable; const { concat } = Ix.asynciterable; const { range } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/catchwith-spec.ts b/spec/asynciterable-operators/catchwith-spec.ts index 08635237..17c03687 100644 --- a/spec/asynciterable-operators/catchwith-spec.ts +++ b/spec/asynciterable-operators/catchwith-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { catchWith } = Ix.asynciterable; const { of } = Ix.asynciterable; const { range } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/chain-spec.ts b/spec/asynciterable-operators/chain-spec.ts index d196c137..11fb64c2 100644 --- a/spec/asynciterable-operators/chain-spec.ts +++ b/spec/asynciterable-operators/chain-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { chain } = Ix.asynciterable; import { noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable-operators/concat-spec.ts b/spec/asynciterable-operators/concat-spec.ts index 93d5a545..1d7e817a 100644 --- a/spec/asynciterable-operators/concat-spec.ts +++ b/spec/asynciterable-operators/concat-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { concat } = Ix.asynciterable; const { concatAll } = Ix.asynciterable; const { map } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/count-spec.ts b/spec/asynciterable-operators/count-spec.ts index 53f4abf1..2cb0f88b 100644 --- a/spec/asynciterable-operators/count-spec.ts +++ b/spec/asynciterable-operators/count-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { count } = Ix.asynciterable; const { empty } = Ix.asynciterable; const { of } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/debounce-spec.ts b/spec/asynciterable-operators/debounce-spec.ts index 94ba792a..24f4bc21 100644 --- a/spec/asynciterable-operators/debounce-spec.ts +++ b/spec/asynciterable-operators/debounce-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { debounce } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable-operators/defaultifempty-spec.ts b/spec/asynciterable-operators/defaultifempty-spec.ts index c3ed22d1..4d4c816a 100644 --- a/spec/asynciterable-operators/defaultifempty-spec.ts +++ b/spec/asynciterable-operators/defaultifempty-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { defaultIfEmpty } = Ix.asynciterable; const { empty } = Ix.asynciterable; const { of } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/distinct-spec.ts b/spec/asynciterable-operators/distinct-spec.ts index 560b3fd4..a35f3ad1 100644 --- a/spec/asynciterable-operators/distinct-spec.ts +++ b/spec/asynciterable-operators/distinct-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { distinct } = Ix.asynciterable; const { range } = Ix.asynciterable; const { sequenceEqual } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/distinctuntilchanged-spec.ts b/spec/asynciterable-operators/distinctuntilchanged-spec.ts index 51bb65bd..4dd62e10 100644 --- a/spec/asynciterable-operators/distinctuntilchanged-spec.ts +++ b/spec/asynciterable-operators/distinctuntilchanged-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { distinctUntilChanged } = Ix.asynciterable; const { of } = Ix.asynciterable; const { sequenceEqual } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/dowhile-spec.ts b/spec/asynciterable-operators/dowhile-spec.ts index 268e42d3..b838b884 100644 --- a/spec/asynciterable-operators/dowhile-spec.ts +++ b/spec/asynciterable-operators/dowhile-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { defer } = Ix.asynciterable; const { doWhile } = Ix.asynciterable; const { of } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/elementat-spec.ts b/spec/asynciterable-operators/elementat-spec.ts index 125818b2..5624db46 100644 --- a/spec/asynciterable-operators/elementat-spec.ts +++ b/spec/asynciterable-operators/elementat-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { elementAt } = Ix.asynciterable; const { empty } = Ix.asynciterable; const { of } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/endwith-spec.ts b/spec/asynciterable-operators/endwith-spec.ts index 338b0a3c..b1ea1ab4 100644 --- a/spec/asynciterable-operators/endwith-spec.ts +++ b/spec/asynciterable-operators/endwith-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { range } = Ix.asynciterable; const { sequenceEqual } = Ix.asynciterable; const { endWith } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/every-spec.ts b/spec/asynciterable-operators/every-spec.ts index b7dad345..0fe091e8 100644 --- a/spec/asynciterable-operators/every-spec.ts +++ b/spec/asynciterable-operators/every-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { every } = Ix.asynciterable; const { of } = Ix.asynciterable; const { _throw } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/except-spec.ts b/spec/asynciterable-operators/except-spec.ts index ce4c6c89..d1004c99 100644 --- a/spec/asynciterable-operators/except-spec.ts +++ b/spec/asynciterable-operators/except-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { except } = Ix.asynciterable; const { of } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable-operators/expand-spec.ts b/spec/asynciterable-operators/expand-spec.ts index 243c5a16..6ff68284 100644 --- a/spec/asynciterable-operators/expand-spec.ts +++ b/spec/asynciterable-operators/expand-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { expand } = Ix.asynciterable; const { of } = Ix.asynciterable; const { range } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/filter-spec.ts b/spec/asynciterable-operators/filter-spec.ts index 4aaf91fc..6b86262d 100644 --- a/spec/asynciterable-operators/filter-spec.ts +++ b/spec/asynciterable-operators/filter-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { filter } = Ix.asynciterable; const { of } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/finally-spec.ts b/spec/asynciterable-operators/finally-spec.ts index f0fa0786..f3056b9a 100644 --- a/spec/asynciterable-operators/finally-spec.ts +++ b/spec/asynciterable-operators/finally-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { _finally } = Ix.asynciterable; const { range } = Ix.asynciterable; const { _throw } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/first-spec.ts b/spec/asynciterable-operators/first-spec.ts index bcf19535..9271e8d9 100644 --- a/spec/asynciterable-operators/first-spec.ts +++ b/spec/asynciterable-operators/first-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { of } = Ix.asynciterable; const { first } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/flatmap-spec.ts b/spec/asynciterable-operators/flatmap-spec.ts index 7c28be83..44aba2ed 100644 --- a/spec/asynciterable-operators/flatmap-spec.ts +++ b/spec/asynciterable-operators/flatmap-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { flatMap } = Ix.asynciterable; const { of } = Ix.asynciterable; const { range } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/flatten-spec.ts b/spec/asynciterable-operators/flatten-spec.ts index baa529aa..99d95159 100644 --- a/spec/asynciterable-operators/flatten-spec.ts +++ b/spec/asynciterable-operators/flatten-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { flatten } = Ix.asynciterable; const { of } = Ix.asynciterable; const { toArray } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/groupby-spec.ts b/spec/asynciterable-operators/groupby-spec.ts index 431b5bcd..77e02301 100644 --- a/spec/asynciterable-operators/groupby-spec.ts +++ b/spec/asynciterable-operators/groupby-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { from } = Ix.asynciterable; const { groupBy } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/groupjoin-spec.ts b/spec/asynciterable-operators/groupjoin-spec.ts index 25389130..2e74de94 100644 --- a/spec/asynciterable-operators/groupjoin-spec.ts +++ b/spec/asynciterable-operators/groupjoin-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { groupJoin } = Ix.asynciterable; const { of } = Ix.asynciterable; const { reduce } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/ignoreelements.ts b/spec/asynciterable-operators/ignoreelements.ts index e441ce60..194eb6c2 100644 --- a/spec/asynciterable-operators/ignoreelements.ts +++ b/spec/asynciterable-operators/ignoreelements.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { forEach } = Ix.asynciterable; const { ignoreElements } = Ix.asynciterable; const { range } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/includes-spec.ts b/spec/asynciterable-operators/includes-spec.ts index fca67863..2e765435 100644 --- a/spec/asynciterable-operators/includes-spec.ts +++ b/spec/asynciterable-operators/includes-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { of } = Ix.asynciterable; const { includes } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/innerjoin-spec.ts b/spec/asynciterable-operators/innerjoin-spec.ts index 556605c1..6b7eece5 100644 --- a/spec/asynciterable-operators/innerjoin-spec.ts +++ b/spec/asynciterable-operators/innerjoin-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { innerJoin } = Ix.asynciterable; const { of } = Ix.asynciterable; const { _throw } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/intersect-spec.ts b/spec/asynciterable-operators/intersect-spec.ts index d4a7c92c..ff9bdea4 100644 --- a/spec/asynciterable-operators/intersect-spec.ts +++ b/spec/asynciterable-operators/intersect-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { of } = Ix.asynciterable; const { intersect } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable-operators/isempty-spec.ts b/spec/asynciterable-operators/isempty-spec.ts index 4524d041..466ed1c9 100644 --- a/spec/asynciterable-operators/isempty-spec.ts +++ b/spec/asynciterable-operators/isempty-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { isEmpty } = Ix.asynciterable; const { of } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/last-spec.ts b/spec/asynciterable-operators/last-spec.ts index fcf0ad9a..cd1554a6 100644 --- a/spec/asynciterable-operators/last-spec.ts +++ b/spec/asynciterable-operators/last-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { last } = Ix.asynciterable; const { of } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/max-spec.ts b/spec/asynciterable-operators/max-spec.ts index 58be0159..cd037a7b 100644 --- a/spec/asynciterable-operators/max-spec.ts +++ b/spec/asynciterable-operators/max-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { of } = Ix.asynciterable; const { max } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/maxby-spec.ts b/spec/asynciterable-operators/maxby-spec.ts index a1eb7265..da9b68d5 100644 --- a/spec/asynciterable-operators/maxby-spec.ts +++ b/spec/asynciterable-operators/maxby-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { maxBy } = Ix.asynciterable; const { of } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/merge-spec.ts b/spec/asynciterable-operators/merge-spec.ts index 54779e5e..c5ee599a 100644 --- a/spec/asynciterable-operators/merge-spec.ts +++ b/spec/asynciterable-operators/merge-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { merge } = Ix.asynciterable; const { of } = Ix.asynciterable; const { sequenceEqual } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/min-spec.ts b/spec/asynciterable-operators/min-spec.ts index 464dfa09..2abb600e 100644 --- a/spec/asynciterable-operators/min-spec.ts +++ b/spec/asynciterable-operators/min-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { of } = Ix.asynciterable; const { min } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/minby-spec.ts b/spec/asynciterable-operators/minby-spec.ts index b2b97047..06df593a 100644 --- a/spec/asynciterable-operators/minby-spec.ts +++ b/spec/asynciterable-operators/minby-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { minBy } = Ix.asynciterable; const { of } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/onerrorresumenext-spec.ts b/spec/asynciterable-operators/onerrorresumenext-spec.ts index 78890eed..67904fde 100644 --- a/spec/asynciterable-operators/onerrorresumenext-spec.ts +++ b/spec/asynciterable-operators/onerrorresumenext-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { concat } = Ix.asynciterable; const { of } = Ix.asynciterable; const { onErrorResumeNext } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/orderby-spec.ts b/spec/asynciterable-operators/orderby-spec.ts index 3545ec33..b0988368 100644 --- a/spec/asynciterable-operators/orderby-spec.ts +++ b/spec/asynciterable-operators/orderby-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { of } = Ix.asynciterable; const { orderBy, orderByDescending, thenBy, thenByDescending } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable-operators/pairwise-spec.ts b/spec/asynciterable-operators/pairwise-spec.ts index fc1694db..061faa90 100644 --- a/spec/asynciterable-operators/pairwise-spec.ts +++ b/spec/asynciterable-operators/pairwise-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { of } = Ix.asynciterable; const { pairwise } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/partition-spec.ts b/spec/asynciterable-operators/partition-spec.ts index 62258c71..d8999367 100644 --- a/spec/asynciterable-operators/partition-spec.ts +++ b/spec/asynciterable-operators/partition-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { of } = Ix.asynciterable; const { partition } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/pluck-spec.ts b/spec/asynciterable-operators/pluck-spec.ts index a9177fe3..5bfd7d29 100644 --- a/spec/asynciterable-operators/pluck-spec.ts +++ b/spec/asynciterable-operators/pluck-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { of } = Ix.asynciterable; const { pluck } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable-operators/reduce-spec.ts b/spec/asynciterable-operators/reduce-spec.ts index fa974137..190c07f1 100644 --- a/spec/asynciterable-operators/reduce-spec.ts +++ b/spec/asynciterable-operators/reduce-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { of } = Ix.asynciterable; const { reduce } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/reduceright-spec.ts b/spec/asynciterable-operators/reduceright-spec.ts index b5f55afe..475abd4d 100644 --- a/spec/asynciterable-operators/reduceright-spec.ts +++ b/spec/asynciterable-operators/reduceright-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { of } = Ix.asynciterable; const { reduceRight } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/retry-spec.ts b/spec/asynciterable-operators/retry-spec.ts index 13804776..0113b0be 100644 --- a/spec/asynciterable-operators/retry-spec.ts +++ b/spec/asynciterable-operators/retry-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { concat } = Ix.asynciterable; const { range } = Ix.asynciterable; const { retry } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/reverse-spec.ts b/spec/asynciterable-operators/reverse-spec.ts index 101f08c8..e3d39cd6 100644 --- a/spec/asynciterable-operators/reverse-spec.ts +++ b/spec/asynciterable-operators/reverse-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { of } = Ix.asynciterable; const { reverse } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/scan-spec.ts b/spec/asynciterable-operators/scan-spec.ts index a53b6b58..8df02e43 100644 --- a/spec/asynciterable-operators/scan-spec.ts +++ b/spec/asynciterable-operators/scan-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { range } = Ix.asynciterable; const { scan } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable-operators/scanright-spec.ts b/spec/asynciterable-operators/scanright-spec.ts index 09d38b19..f2dcc8a6 100644 --- a/spec/asynciterable-operators/scanright-spec.ts +++ b/spec/asynciterable-operators/scanright-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { range } = Ix.asynciterable; const { scanRight } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable-operators/sequenceequal-spec.ts b/spec/asynciterable-operators/sequenceequal-spec.ts index 19a6bd46..f4a38def 100644 --- a/spec/asynciterable-operators/sequenceequal-spec.ts +++ b/spec/asynciterable-operators/sequenceequal-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { of } = Ix.asynciterable; const { sequenceEqual } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/single-spec.ts b/spec/asynciterable-operators/single-spec.ts index f8467baa..d33e1d2e 100644 --- a/spec/asynciterable-operators/single-spec.ts +++ b/spec/asynciterable-operators/single-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { of } = Ix.asynciterable; const { single } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/skip-spec.ts b/spec/asynciterable-operators/skip-spec.ts index 3578e0be..fd91921b 100644 --- a/spec/asynciterable-operators/skip-spec.ts +++ b/spec/asynciterable-operators/skip-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { of } = Ix.asynciterable; const { skip } = Ix.asynciterable; const { _throw } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/skiplast-spec.ts b/spec/asynciterable-operators/skiplast-spec.ts index 9668595e..2a33928b 100644 --- a/spec/asynciterable-operators/skiplast-spec.ts +++ b/spec/asynciterable-operators/skiplast-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { range } = Ix.asynciterable; const { sequenceEqual } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/skipuntil-spec.ts b/spec/asynciterable-operators/skipuntil-spec.ts index 0ac5a320..0df3de2e 100644 --- a/spec/asynciterable-operators/skipuntil-spec.ts +++ b/spec/asynciterable-operators/skipuntil-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { skipUntil } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable-operators/skipwhile-spec.ts b/spec/asynciterable-operators/skipwhile-spec.ts index a7fc688e..7d954c64 100644 --- a/spec/asynciterable-operators/skipwhile-spec.ts +++ b/spec/asynciterable-operators/skipwhile-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { of } = Ix.asynciterable; const { skipWhile } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable-operators/slice-spec.ts b/spec/asynciterable-operators/slice-spec.ts index 609c7e3d..253fa1bc 100644 --- a/spec/asynciterable-operators/slice-spec.ts +++ b/spec/asynciterable-operators/slice-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { from } = Ix.asynciterable; const { slice } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable-operators/some-spec.ts b/spec/asynciterable-operators/some-spec.ts index 0f9e76dd..29963e47 100644 --- a/spec/asynciterable-operators/some-spec.ts +++ b/spec/asynciterable-operators/some-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { of } = Ix.asynciterable; const { some } = Ix.asynciterable; const { _throw } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/startwith-spec.ts b/spec/asynciterable-operators/startwith-spec.ts index 949e387d..5a2c371f 100644 --- a/spec/asynciterable-operators/startwith-spec.ts +++ b/spec/asynciterable-operators/startwith-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { range } = Ix.asynciterable; const { sequenceEqual } = Ix.asynciterable; const { startWith } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/sum-spec.ts b/spec/asynciterable-operators/sum-spec.ts index 174dc56f..b5d6d5d5 100644 --- a/spec/asynciterable-operators/sum-spec.ts +++ b/spec/asynciterable-operators/sum-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { of } = Ix.asynciterable; const { sum } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/take-spec.ts b/spec/asynciterable-operators/take-spec.ts index e4923d64..ceb023a7 100644 --- a/spec/asynciterable-operators/take-spec.ts +++ b/spec/asynciterable-operators/take-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { of } = Ix.asynciterable; const { take } = Ix.asynciterable; const { _throw } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/takelast-spec.ts b/spec/asynciterable-operators/takelast-spec.ts index 4b01d26c..717195e4 100644 --- a/spec/asynciterable-operators/takelast-spec.ts +++ b/spec/asynciterable-operators/takelast-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { range } = Ix.asynciterable; const { sequenceEqual } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/takeuntil-spec.ts b/spec/asynciterable-operators/takeuntil-spec.ts index 7d37fd04..5030ed7b 100644 --- a/spec/asynciterable-operators/takeuntil-spec.ts +++ b/spec/asynciterable-operators/takeuntil-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { takeUntil } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable-operators/takewhile-spec.ts b/spec/asynciterable-operators/takewhile-spec.ts index 4cb22c2c..69b3fc51 100644 --- a/spec/asynciterable-operators/takewhile-spec.ts +++ b/spec/asynciterable-operators/takewhile-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { of } = Ix.asynciterable; const { takeWhile } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable-operators/throttle-spec.ts b/spec/asynciterable-operators/throttle-spec.ts index 857baa5d..0f64a2c0 100644 --- a/spec/asynciterable-operators/throttle-spec.ts +++ b/spec/asynciterable-operators/throttle-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { throttle } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable-operators/toarray-spec.ts b/spec/asynciterable-operators/toarray-spec.ts index 3fa419a5..07759f21 100644 --- a/spec/asynciterable-operators/toarray-spec.ts +++ b/spec/asynciterable-operators/toarray-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { from } = Ix.asynciterable; const { sequenceEqual } = Ix.iterable; diff --git a/spec/asynciterable-operators/tomap-spec.ts b/spec/asynciterable-operators/tomap-spec.ts index 6f187fee..fc3d4d89 100644 --- a/spec/asynciterable-operators/tomap-spec.ts +++ b/spec/asynciterable-operators/tomap-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { of } = Ix.asynciterable; const { toMap } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/toobservable-spec.ts b/spec/asynciterable-operators/toobservable-spec.ts index 7d6f7b94..3e6d8e0c 100644 --- a/spec/asynciterable-operators/toobservable-spec.ts +++ b/spec/asynciterable-operators/toobservable-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { of } = Ix.asynciterable; const { _throw } = Ix.asynciterable; diff --git a/spec/asynciterable-operators/toset-spec.ts b/spec/asynciterable-operators/toset-spec.ts index d2110371..1ffa8234 100644 --- a/spec/asynciterable-operators/toset-spec.ts +++ b/spec/asynciterable-operators/toset-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; const { from } = Ix.asynciterable; const { sequenceEqual } = Ix.iterable; diff --git a/spec/asynciterable-operators/union-spec.ts b/spec/asynciterable-operators/union-spec.ts index c0bde540..6bd61152 100644 --- a/spec/asynciterable-operators/union-spec.ts +++ b/spec/asynciterable-operators/union-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { of } = Ix.asynciterable; const { union } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable-operators/zip-spec.ts b/spec/asynciterable-operators/zip-spec.ts index 5631cf52..49ded5f8 100644 --- a/spec/asynciterable-operators/zip-spec.ts +++ b/spec/asynciterable-operators/zip-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { of } = Ix.asynciterable; const { _throw } = Ix.asynciterable; const { zip } = Ix.asynciterable; diff --git a/spec/asynciterable/defer-spec.ts b/spec/asynciterable/defer-spec.ts index 86c27479..2bb2e295 100644 --- a/spec/asynciterable/defer-spec.ts +++ b/spec/asynciterable/defer-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { defer } = Ix.asynciterable; const { range } = Ix.asynciterable; const { sequenceEqual } = Ix.asynciterable; diff --git a/spec/asynciterable/empty-spec.ts b/spec/asynciterable/empty-spec.ts index d8b278da..dae56ae5 100644 --- a/spec/asynciterable/empty-spec.ts +++ b/spec/asynciterable/empty-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.asynciterable; import { noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable/from-spec.ts b/spec/asynciterable/from-spec.ts index 4e194083..8de3baa7 100644 --- a/spec/asynciterable/from-spec.ts +++ b/spec/asynciterable/from-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { from } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable/fromevent-spec.ts b/spec/asynciterable/fromevent-spec.ts index e1b10fd6..b3cfd521 100644 --- a/spec/asynciterable/fromevent-spec.ts +++ b/spec/asynciterable/fromevent-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { fromEvent } = Ix.asynciterable; import { hasNext } from '../asynciterablehelpers'; import { EventEmitter } from 'events'; diff --git a/spec/asynciterable/fromeventpattern-spec.ts b/spec/asynciterable/fromeventpattern-spec.ts index 675e465e..8a9efcd2 100644 --- a/spec/asynciterable/fromeventpattern-spec.ts +++ b/spec/asynciterable/fromeventpattern-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { fromEventPattern } = Ix.asynciterable; import { hasNext } from '../asynciterablehelpers'; import { EventEmitter } from 'events'; diff --git a/spec/asynciterable/generate-spec.ts b/spec/asynciterable/generate-spec.ts index 5f3ad321..452f0eb8 100644 --- a/spec/asynciterable/generate-spec.ts +++ b/spec/asynciterable/generate-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { generate } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable/generatetime-spec.ts b/spec/asynciterable/generatetime-spec.ts index c913d4ec..042f1da4 100644 --- a/spec/asynciterable/generatetime-spec.ts +++ b/spec/asynciterable/generatetime-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { generateTime } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable/if-spec.ts b/spec/asynciterable/if-spec.ts index cab00d34..7fcec015 100644 --- a/spec/asynciterable/if-spec.ts +++ b/spec/asynciterable/if-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { _if } = Ix.asynciterable; const { isEmpty } = Ix.asynciterable; const { of } = Ix.asynciterable; diff --git a/spec/asynciterable/of-spec.ts b/spec/asynciterable/of-spec.ts index 61b09f3b..2de96988 100644 --- a/spec/asynciterable/of-spec.ts +++ b/spec/asynciterable/of-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { of } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable/ofentries-spec.ts b/spec/asynciterable/ofentries-spec.ts index 1bbe1afd..659f8485 100644 --- a/spec/asynciterable/ofentries-spec.ts +++ b/spec/asynciterable/ofentries-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { ofEntries } = Ix.asynciterable; import { noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable/ofkeys-spec.ts b/spec/asynciterable/ofkeys-spec.ts index 1bd4e902..cb82e73d 100644 --- a/spec/asynciterable/ofkeys-spec.ts +++ b/spec/asynciterable/ofkeys-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { ofKeys } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable/ofvalues-spec.ts b/spec/asynciterable/ofvalues-spec.ts index 49c3d9bf..15428468 100644 --- a/spec/asynciterable/ofvalues-spec.ts +++ b/spec/asynciterable/ofvalues-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { ofValues } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable/race-spec.ts b/spec/asynciterable/race-spec.ts index ddf98c95..bce6ad9a 100644 --- a/spec/asynciterable/race-spec.ts +++ b/spec/asynciterable/race-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { of } = Ix.asynciterable; const { race } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable/repeat-spec.ts b/spec/asynciterable/repeat-spec.ts index 29cc83fa..63b7e2d4 100644 --- a/spec/asynciterable/repeat-spec.ts +++ b/spec/asynciterable/repeat-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { repeatStatic } = Ix.asynciterable; import { hasNext, noNext } from '../asynciterablehelpers'; diff --git a/spec/asynciterable/throw-spec.ts b/spec/asynciterable/throw-spec.ts index abdd40a8..c84d0d4c 100644 --- a/spec/asynciterable/throw-spec.ts +++ b/spec/asynciterable/throw-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { _throw } = Ix.asynciterable; test('AsyncIterable#throw throws', async t => { diff --git a/spec/asynciterable/while-spec.ts b/spec/asynciterable/while-spec.ts index 4f872747..4ae0e368 100644 --- a/spec/asynciterable/while-spec.ts +++ b/spec/asynciterable/while-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { defer } = Ix.asynciterable; const { of } = Ix.asynciterable; const { tap } = Ix.asynciterable; diff --git a/spec/asyncsink-spec.ts b/spec/asyncsink-spec.ts index 3220d0e9..cbc9c5d6 100644 --- a/spec/asyncsink-spec.ts +++ b/spec/asyncsink-spec.ts @@ -1,5 +1,5 @@ import * as Ix from './Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { AsyncSink } = Ix; import { hasNext, noNext } from './asynciterablehelpers'; diff --git a/spec/index.ts b/spec/index.ts index 2361798f..23ab8307 100644 --- a/spec/index.ts +++ b/spec/index.ts @@ -1,7 +1,7 @@ /* tslint:disable */ -process.on('unhandledRejection', (reason, p) => { - console.error('Unhandled Rejection at:', p, 'reason:', reason); - throw reason; +process.on('unhandledRejection', error => { + // Won't execute + console.log('unhandledRejection', error.test); }); const cwd = process.cwd(); diff --git a/spec/iterable-operators/average-spec.ts b/spec/iterable-operators/average-spec.ts index accc14c4..3c9e135e 100644 --- a/spec/iterable-operators/average-spec.ts +++ b/spec/iterable-operators/average-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { average } = Ix.iterable; test('Iterable#average empty', t => { diff --git a/spec/iterable-operators/catch-spec.ts b/spec/iterable-operators/catch-spec.ts index c951bec5..116fc8af 100644 --- a/spec/iterable-operators/catch-spec.ts +++ b/spec/iterable-operators/catch-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { _catch } = Ix.iterable; const { concat } = Ix.iterable; const { range } = Ix.iterable; diff --git a/spec/iterable-operators/catchwith-spec.ts b/spec/iterable-operators/catchwith-spec.ts index a36ee69a..357d9991 100644 --- a/spec/iterable-operators/catchwith-spec.ts +++ b/spec/iterable-operators/catchwith-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { catchWith } = Ix.iterable; const { range } = Ix.iterable; const { sequenceEqual } = Ix.iterable; diff --git a/spec/iterable-operators/chain-spec.ts b/spec/iterable-operators/chain-spec.ts index 15d92005..79eb90b0 100644 --- a/spec/iterable-operators/chain-spec.ts +++ b/spec/iterable-operators/chain-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.iterable; const { chain } = Ix.iterable; import { noNext } from '../iterablehelpers'; diff --git a/spec/iterable-operators/concat-spec.ts b/spec/iterable-operators/concat-spec.ts index b24a1496..f8e9c6dc 100644 --- a/spec/iterable-operators/concat-spec.ts +++ b/spec/iterable-operators/concat-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { concat } = Ix.iterable; const { concatAll } = Ix.iterable; const { map } = Ix.iterable; diff --git a/spec/iterable-operators/count-spec.ts b/spec/iterable-operators/count-spec.ts index cbd7aa4e..44e72d49 100644 --- a/spec/iterable-operators/count-spec.ts +++ b/spec/iterable-operators/count-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { count } = Ix.iterable; test('Iterable#count no predicate empty', t => { diff --git a/spec/iterable-operators/defaultifempty-spec.ts b/spec/iterable-operators/defaultifempty-spec.ts index 1a92f1f3..e3bf87fa 100644 --- a/spec/iterable-operators/defaultifempty-spec.ts +++ b/spec/iterable-operators/defaultifempty-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { defaultIfEmpty } = Ix.iterable; const { empty } = Ix.iterable; const { _throw } = Ix.iterable; diff --git a/spec/iterable-operators/distinct-spec.ts b/spec/iterable-operators/distinct-spec.ts index 857fe6dc..374be52d 100644 --- a/spec/iterable-operators/distinct-spec.ts +++ b/spec/iterable-operators/distinct-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { distinct } = Ix.iterable; const { range } = Ix.iterable; const { sequenceEqual } = Ix.iterable; diff --git a/spec/iterable-operators/distinctuntilchanged-spec.ts b/spec/iterable-operators/distinctuntilchanged-spec.ts index 667ab7bb..32d39952 100644 --- a/spec/iterable-operators/distinctuntilchanged-spec.ts +++ b/spec/iterable-operators/distinctuntilchanged-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { distinctUntilChanged } = Ix.iterable; const { sequenceEqual } = Ix.iterable; diff --git a/spec/iterable-operators/dowhile-spec.ts b/spec/iterable-operators/dowhile-spec.ts index f1ce9a2c..b75222f4 100644 --- a/spec/iterable-operators/dowhile-spec.ts +++ b/spec/iterable-operators/dowhile-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { defer } = Ix.iterable; const { doWhile } = Ix.iterable; const { sequenceEqual } = Ix.iterable; diff --git a/spec/iterable-operators/elementat-spec.ts b/spec/iterable-operators/elementat-spec.ts index 485a7d92..296eb2c8 100644 --- a/spec/iterable-operators/elementat-spec.ts +++ b/spec/iterable-operators/elementat-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { elementAt } = Ix.iterable; test('Iterable#elementAt empty returns undefined', t => { diff --git a/spec/iterable-operators/endwith-spec.ts b/spec/iterable-operators/endwith-spec.ts index 03f4056d..3f934661 100644 --- a/spec/iterable-operators/endwith-spec.ts +++ b/spec/iterable-operators/endwith-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { range } = Ix.iterable; const { sequenceEqual } = Ix.iterable; const { endWith } = Ix.iterable; diff --git a/spec/iterable-operators/every-spec.ts b/spec/iterable-operators/every-spec.ts index d2acbde5..f57e8613 100644 --- a/spec/iterable-operators/every-spec.ts +++ b/spec/iterable-operators/every-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { every } = Ix.iterable; test('Iterable#every some true', t => { diff --git a/spec/iterable-operators/except-spec.ts b/spec/iterable-operators/except-spec.ts index 49cc125d..8440947d 100644 --- a/spec/iterable-operators/except-spec.ts +++ b/spec/iterable-operators/except-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { except } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable-operators/expand-spec.ts b/spec/iterable-operators/expand-spec.ts index 41e59109..bd8b2b94 100644 --- a/spec/iterable-operators/expand-spec.ts +++ b/spec/iterable-operators/expand-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { expand } = Ix.iterable; const { range } = Ix.iterable; const { sequenceEqual } = Ix.iterable; diff --git a/spec/iterable-operators/filter-spec.ts b/spec/iterable-operators/filter-spec.ts index 9b258a1b..ef3a2b46 100644 --- a/spec/iterable-operators/filter-spec.ts +++ b/spec/iterable-operators/filter-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.iterable; const { filter } = Ix.iterable; const { _throw } = Ix.iterable; diff --git a/spec/iterable-operators/finally-spec.ts b/spec/iterable-operators/finally-spec.ts index 70940707..5934fb5b 100644 --- a/spec/iterable-operators/finally-spec.ts +++ b/spec/iterable-operators/finally-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { _finally } = Ix.iterable; const { range } = Ix.iterable; const { _throw } = Ix.iterable; diff --git a/spec/iterable-operators/first-spec.ts b/spec/iterable-operators/first-spec.ts index a28fde6a..b0c4ee43 100644 --- a/spec/iterable-operators/first-spec.ts +++ b/spec/iterable-operators/first-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { first } = Ix.iterable; test('Iterable#first empty returns undefined', t => { diff --git a/spec/iterable-operators/flatmap-spec.ts b/spec/iterable-operators/flatmap-spec.ts index 07692086..f34fa9ee 100644 --- a/spec/iterable-operators/flatmap-spec.ts +++ b/spec/iterable-operators/flatmap-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { flatMap } = Ix.iterable; const { range } = Ix.iterable; const { _throw } = Ix.iterable; diff --git a/spec/iterable-operators/flatten-spec.ts b/spec/iterable-operators/flatten-spec.ts index 513adde3..f728bbe3 100644 --- a/spec/iterable-operators/flatten-spec.ts +++ b/spec/iterable-operators/flatten-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { flatten } = Ix.iterable; const { toArray } = Ix.iterable; diff --git a/spec/iterable-operators/groupby-spec.ts b/spec/iterable-operators/groupby-spec.ts index 3e3cb356..75a0af6d 100644 --- a/spec/iterable-operators/groupby-spec.ts +++ b/spec/iterable-operators/groupby-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.iterable; const { groupBy } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable-operators/groupjoin-spec.ts b/spec/iterable-operators/groupjoin-spec.ts index 1b4579ae..d4ff5005 100644 --- a/spec/iterable-operators/groupjoin-spec.ts +++ b/spec/iterable-operators/groupjoin-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { groupJoin } = Ix.iterable; const { reduce } = Ix.iterable; const { _throw } = Ix.iterable; diff --git a/spec/iterable-operators/ignoreelements-spec.ts b/spec/iterable-operators/ignoreelements-spec.ts index 4e1b8d93..e8e9c0d1 100644 --- a/spec/iterable-operators/ignoreelements-spec.ts +++ b/spec/iterable-operators/ignoreelements-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { forEach } = Ix.iterable; const { ignoreElements } = Ix.iterable; const { range } = Ix.iterable; diff --git a/spec/iterable-operators/includes-spec.ts b/spec/iterable-operators/includes-spec.ts index 94a70b23..d2735046 100644 --- a/spec/iterable-operators/includes-spec.ts +++ b/spec/iterable-operators/includes-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { includes } = Ix.iterable; test('Iterable#includes includes', t => { diff --git a/spec/iterable-operators/innerjoin-spec.ts b/spec/iterable-operators/innerjoin-spec.ts index c253150e..ab7bb963 100644 --- a/spec/iterable-operators/innerjoin-spec.ts +++ b/spec/iterable-operators/innerjoin-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { innerJoin } = Ix.iterable; const { _throw } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable-operators/intersect-spec.ts b/spec/iterable-operators/intersect-spec.ts index b0cd4d06..8f218e3e 100644 --- a/spec/iterable-operators/intersect-spec.ts +++ b/spec/iterable-operators/intersect-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { intersect } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable-operators/last-spec.ts b/spec/iterable-operators/last-spec.ts index cdb7546c..f61c925f 100644 --- a/spec/iterable-operators/last-spec.ts +++ b/spec/iterable-operators/last-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { last } = Ix.iterable; test('Iterable#last empty returns undefined', t => { diff --git a/spec/iterable-operators/max-spec.ts b/spec/iterable-operators/max-spec.ts index 6e57d8f9..f2ed3e02 100644 --- a/spec/iterable-operators/max-spec.ts +++ b/spec/iterable-operators/max-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { max } = Ix.iterable; test('Itearble#max laws', t => { diff --git a/spec/iterable-operators/min-spec.ts b/spec/iterable-operators/min-spec.ts index c882c0c9..1f04e4b9 100644 --- a/spec/iterable-operators/min-spec.ts +++ b/spec/iterable-operators/min-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { min } = Ix.iterable; test('Itearble#min laws', t => { diff --git a/spec/iterable-operators/onerrorresumenext-spec.ts b/spec/iterable-operators/onerrorresumenext-spec.ts index ccf76b9e..d53a1d72 100644 --- a/spec/iterable-operators/onerrorresumenext-spec.ts +++ b/spec/iterable-operators/onerrorresumenext-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { concat } = Ix.iterable; const { onErrorResumeNext } = Ix.iterable; const { sequenceEqual } = Ix.iterable; diff --git a/spec/iterable-operators/orderby-spec.ts b/spec/iterable-operators/orderby-spec.ts index 7c81f793..20549bd8 100644 --- a/spec/iterable-operators/orderby-spec.ts +++ b/spec/iterable-operators/orderby-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { orderBy, orderByDescending, thenBy, thenByDescending } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable-operators/pairwise-spec.ts b/spec/iterable-operators/pairwise-spec.ts index 7b962407..d0f7bf69 100644 --- a/spec/iterable-operators/pairwise-spec.ts +++ b/spec/iterable-operators/pairwise-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.iterable; const { of } = Ix.iterable; const { pairwise } = Ix.iterable; diff --git a/spec/iterable-operators/partition-spec.ts b/spec/iterable-operators/partition-spec.ts index 81ff97f1..745523c2 100644 --- a/spec/iterable-operators/partition-spec.ts +++ b/spec/iterable-operators/partition-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.iterable; const { of } = Ix.iterable; const { partition } = Ix.iterable; diff --git a/spec/iterable-operators/pluck-spec.ts b/spec/iterable-operators/pluck-spec.ts index 614079dd..3ab647b6 100644 --- a/spec/iterable-operators/pluck-spec.ts +++ b/spec/iterable-operators/pluck-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { of } = Ix.iterable; const { pluck } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable-operators/reduce-spec.ts b/spec/iterable-operators/reduce-spec.ts index 733e7be7..fc7a9031 100644 --- a/spec/iterable-operators/reduce-spec.ts +++ b/spec/iterable-operators/reduce-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.iterable; const { of } = Ix.iterable; const { reduce } = Ix.iterable; diff --git a/spec/iterable-operators/reduceright-spec.ts b/spec/iterable-operators/reduceright-spec.ts index 036d5ddb..99b6b5d2 100644 --- a/spec/iterable-operators/reduceright-spec.ts +++ b/spec/iterable-operators/reduceright-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.iterable; const { of } = Ix.iterable; const { reduceRight } = Ix.iterable; diff --git a/spec/iterable-operators/retry-spec.ts b/spec/iterable-operators/retry-spec.ts index 15bda649..a8e3a27c 100644 --- a/spec/iterable-operators/retry-spec.ts +++ b/spec/iterable-operators/retry-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { concat } = Ix.iterable; const { range } = Ix.iterable; const { retry } = Ix.iterable; diff --git a/spec/iterable-operators/reverse-spec.ts b/spec/iterable-operators/reverse-spec.ts index 42eb5fc5..1a61513e 100644 --- a/spec/iterable-operators/reverse-spec.ts +++ b/spec/iterable-operators/reverse-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.iterable; const { reverse } = Ix.iterable; const { _throw } = Ix.iterable; diff --git a/spec/iterable-operators/scan-spec.ts b/spec/iterable-operators/scan-spec.ts index 479895af..8d69d82b 100644 --- a/spec/iterable-operators/scan-spec.ts +++ b/spec/iterable-operators/scan-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { range } = Ix.iterable; const { scan } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable-operators/scanright-spec.ts b/spec/iterable-operators/scanright-spec.ts index 8cc0a71a..bc327121 100644 --- a/spec/iterable-operators/scanright-spec.ts +++ b/spec/iterable-operators/scanright-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { range } = Ix.iterable; const { scanRight } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable-operators/sequenceequal-spec.ts b/spec/iterable-operators/sequenceequal-spec.ts index 07bb0dac..029baf9a 100644 --- a/spec/iterable-operators/sequenceequal-spec.ts +++ b/spec/iterable-operators/sequenceequal-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.iterable; const { sequenceEqual } = Ix.iterable; const { _throw } = Ix.iterable; diff --git a/spec/iterable-operators/single-spec.ts b/spec/iterable-operators/single-spec.ts index c19b8b48..5edda156 100644 --- a/spec/iterable-operators/single-spec.ts +++ b/spec/iterable-operators/single-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { single } = Ix.iterable; test('Iterable#single no predicate empty returns undefined', t => { diff --git a/spec/iterable-operators/skip-spec.ts b/spec/iterable-operators/skip-spec.ts index a154e5a2..ed661504 100644 --- a/spec/iterable-operators/skip-spec.ts +++ b/spec/iterable-operators/skip-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { skip } = Ix.iterable; const { _throw } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable-operators/skiplast-spec.ts b/spec/iterable-operators/skiplast-spec.ts index 29800364..498f726d 100644 --- a/spec/iterable-operators/skiplast-spec.ts +++ b/spec/iterable-operators/skiplast-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.iterable; const { range } = Ix.iterable; const { sequenceEqual } = Ix.iterable; diff --git a/spec/iterable-operators/skipwhile-spec.ts b/spec/iterable-operators/skipwhile-spec.ts index a987d516..1cd7d3f0 100644 --- a/spec/iterable-operators/skipwhile-spec.ts +++ b/spec/iterable-operators/skipwhile-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { skipWhile } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable-operators/slice-spec.ts b/spec/iterable-operators/slice-spec.ts index 45fbf0a2..8064d48d 100644 --- a/spec/iterable-operators/slice-spec.ts +++ b/spec/iterable-operators/slice-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { from } = Ix.iterable; const { slice } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable-operators/some-spec.ts b/spec/iterable-operators/some-spec.ts index 716aa09e..940d2a02 100644 --- a/spec/iterable-operators/some-spec.ts +++ b/spec/iterable-operators/some-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { some } = Ix.iterable; test('Iterable#some some true', t => { diff --git a/spec/iterable-operators/startwith-spec.ts b/spec/iterable-operators/startwith-spec.ts index 2ca32639..8f665982 100644 --- a/spec/iterable-operators/startwith-spec.ts +++ b/spec/iterable-operators/startwith-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { range } = Ix.iterable; const { sequenceEqual } = Ix.iterable; const { startWith } = Ix.iterable; diff --git a/spec/iterable-operators/sum-spec.ts b/spec/iterable-operators/sum-spec.ts index 09ae2064..8f95ab90 100644 --- a/spec/iterable-operators/sum-spec.ts +++ b/spec/iterable-operators/sum-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { sum } = Ix.iterable; test('Iterable#sum laws', t => { diff --git a/spec/iterable-operators/take-spec.ts b/spec/iterable-operators/take-spec.ts index 2fefe070..5a822173 100644 --- a/spec/iterable-operators/take-spec.ts +++ b/spec/iterable-operators/take-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { take } = Ix.iterable; const { _throw } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable-operators/takelast-spec.ts b/spec/iterable-operators/takelast-spec.ts index ac1b74a2..00358605 100644 --- a/spec/iterable-operators/takelast-spec.ts +++ b/spec/iterable-operators/takelast-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { range } = Ix.iterable; const { sequenceEqual } = Ix.iterable; const { skip } = Ix.iterable; diff --git a/spec/iterable-operators/takewhile-spec.ts b/spec/iterable-operators/takewhile-spec.ts index 81360513..5993f9d5 100644 --- a/spec/iterable-operators/takewhile-spec.ts +++ b/spec/iterable-operators/takewhile-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { takeWhile } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable-operators/toarray-spec.ts b/spec/iterable-operators/toarray-spec.ts index 23326da5..fd1b65b6 100644 --- a/spec/iterable-operators/toarray-spec.ts +++ b/spec/iterable-operators/toarray-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { sequenceEqual } = Ix.iterable; const { toArray } = Ix.iterable; diff --git a/spec/iterable-operators/tomap-spec.ts b/spec/iterable-operators/tomap-spec.ts index 53ae25fb..866257fc 100644 --- a/spec/iterable-operators/tomap-spec.ts +++ b/spec/iterable-operators/tomap-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { toMap } = Ix.iterable; test('Iterable#toMap stores values', t => { diff --git a/spec/iterable-operators/toset-spec.ts b/spec/iterable-operators/toset-spec.ts index 76218fa4..30fc3f82 100644 --- a/spec/iterable-operators/toset-spec.ts +++ b/spec/iterable-operators/toset-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { sequenceEqual } = Ix.iterable; const { toSet } = Ix.iterable; diff --git a/spec/iterable-operators/union-spec.ts b/spec/iterable-operators/union-spec.ts index 994dad41..6ef56044 100644 --- a/spec/iterable-operators/union-spec.ts +++ b/spec/iterable-operators/union-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { union } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable-operators/zip-spec.ts b/spec/iterable-operators/zip-spec.ts index 982c1f8e..96a26488 100644 --- a/spec/iterable-operators/zip-spec.ts +++ b/spec/iterable-operators/zip-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { zip } = Ix.iterable; const { _throw } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable/case-spec.ts b/spec/iterable/case-spec.ts index 2f264b1a..d6e80914 100644 --- a/spec/iterable/case-spec.ts +++ b/spec/iterable/case-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { _case } = Ix.iterable; const { defer } = Ix.iterable; const { isEmpty } = Ix.iterable; diff --git a/spec/iterable/defer-spec.ts b/spec/iterable/defer-spec.ts index 82a3b8bd..4bea2eb5 100644 --- a/spec/iterable/defer-spec.ts +++ b/spec/iterable/defer-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { defer } = Ix.iterable; const { range } = Ix.iterable; const { sequenceEqual } = Ix.iterable; diff --git a/spec/iterable/empty-spec.ts b/spec/iterable/empty-spec.ts index c990ddb0..09603847 100644 --- a/spec/iterable/empty-spec.ts +++ b/spec/iterable/empty-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { empty } = Ix.iterable; import { noNext } from '../iterablehelpers'; diff --git a/spec/iterable/for-spec.ts b/spec/iterable/for-spec.ts index 25426514..7ea80b86 100644 --- a/spec/iterable/for-spec.ts +++ b/spec/iterable/for-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { _for } = Ix.iterable; const { range } = Ix.iterable; const { sequenceEqual } = Ix.iterable; diff --git a/spec/iterable/from-spec.ts b/spec/iterable/from-spec.ts index 65ae1f80..85d75bb9 100644 --- a/spec/iterable/from-spec.ts +++ b/spec/iterable/from-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { from } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable/if-spec.ts b/spec/iterable/if-spec.ts index eff1875e..ce2dae5a 100644 --- a/spec/iterable/if-spec.ts +++ b/spec/iterable/if-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { _if } = Ix.iterable; const { isEmpty } = Ix.iterable; const { single } = Ix.iterable; diff --git a/spec/iterable/of-spec.ts b/spec/iterable/of-spec.ts index 312a19e4..ac0daba0 100644 --- a/spec/iterable/of-spec.ts +++ b/spec/iterable/of-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { of } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable/ofentries-spec.ts b/spec/iterable/ofentries-spec.ts index 6deb2dc8..57d36a92 100644 --- a/spec/iterable/ofentries-spec.ts +++ b/spec/iterable/ofentries-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { ofEntries } = Ix.iterable; import { noNext } from '../iterablehelpers'; diff --git a/spec/iterable/ofkeys-spec.ts b/spec/iterable/ofkeys-spec.ts index 3e8db558..8a7d9fbe 100644 --- a/spec/iterable/ofkeys-spec.ts +++ b/spec/iterable/ofkeys-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { ofKeys } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable/ofvalues-spec.ts b/spec/iterable/ofvalues-spec.ts index a11de10b..c0ba2045 100644 --- a/spec/iterable/ofvalues-spec.ts +++ b/spec/iterable/ofvalues-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { ofValues } = Ix.iterable; import { hasNext, noNext } from '../iterablehelpers'; diff --git a/spec/iterable/throw-spec.ts b/spec/iterable/throw-spec.ts index d1d66f60..541760a2 100644 --- a/spec/iterable/throw-spec.ts +++ b/spec/iterable/throw-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { _throw } = Ix.iterable; test('Iterable#throw throws', t => { diff --git a/spec/iterable/while-spec.ts b/spec/iterable/while-spec.ts index 96d536d3..09385416 100644 --- a/spec/iterable/while-spec.ts +++ b/spec/iterable/while-spec.ts @@ -1,5 +1,5 @@ import * as Ix from '../Ix'; -import * as test from 'tape'; +import * as test from 'tape-async'; const { defer } = Ix.iterable; const { sequenceEqual } = Ix.iterable; const { tap } = Ix.iterable; diff --git a/spec/tape-async.d.ts b/spec/tape-async.d.ts new file mode 100644 index 00000000..760049cb --- /dev/null +++ b/spec/tape-async.d.ts @@ -0,0 +1,4 @@ +declare module "tape-async" { + import * as tape from 'tape'; + export = tape; +}