Update tests make export a bit nicer

This commit is contained in:
Lewis Diamond
2020-07-04 10:43:52 -04:00
parent 1675b18d5b
commit 74ce415118
27 changed files with 141 additions and 131 deletions

View File

@@ -1,7 +1,7 @@
import test from "ava";
import { collected } from "../../src/utils";
import mhysa from "../../src";
const { fromArray, collect } = mhysa({ objectMode: true });
import { strom } from "../../src";
const { fromArray, collect } = strom({ objectMode: true });
test("collected returns a promise for the first data point", async t => {
const data = collected(fromArray([1, 2, 3, 4]).pipe(collect()));