fix(core): update

This commit is contained in:
Philipp Kunz 2022-06-07 18:32:08 +02:00
parent 9fe222b500
commit 0e067004a4
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
import fs from 'fs'; import * as smartfile from '@pushrocks/smartfile';
import { expect, tap } from '@pushrocks/tapbundle'; import { expect, tap } from '@pushrocks/tapbundle';
import * as smartstream from '../ts/smartstream.classes.streamwrapper.js'; import * as smartstream from '../ts/smartstream.classes.streamwrapper.js';
@ -6,8 +6,8 @@ import * as smartstream from '../ts/smartstream.classes.streamwrapper.js';
let testSmartstream: smartstream.StreamWrapper; let testSmartstream: smartstream.StreamWrapper;
tap.test('should combine a stream', async () => { tap.test('should combine a stream', async () => {
testSmartstream = new smartstream.StreamWrapper([ testSmartstream = new smartstream.StreamWrapper([
fs.createReadStream('./test/assets/test.md'), smartfile.fsStream.createReadStream('./test/assets/test.md'),
fs.createWriteStream('./test/assets/testCopy.md'), smartfile.fsStream.createWriteStream('./test/assets/testCopy.md'),
]); ]);
await testSmartstream.run(); await testSmartstream.run();
}); });

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@pushrocks/smartstream', name: '@pushrocks/smartstream',
version: '2.0.2', version: '2.0.3',
description: 'simplifies access to node streams' description: 'simplifies access to node streams'
} }