fix(core): update
This commit is contained in:
parent
9fe222b500
commit
0e067004a4
@ -1,4 +1,4 @@
|
||||
import fs from 'fs';
|
||||
import * as smartfile from '@pushrocks/smartfile';
|
||||
import { expect, tap } from '@pushrocks/tapbundle';
|
||||
|
||||
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;
|
||||
tap.test('should combine a stream', async () => {
|
||||
testSmartstream = new smartstream.StreamWrapper([
|
||||
fs.createReadStream('./test/assets/test.md'),
|
||||
fs.createWriteStream('./test/assets/testCopy.md'),
|
||||
smartfile.fsStream.createReadStream('./test/assets/test.md'),
|
||||
smartfile.fsStream.createWriteStream('./test/assets/testCopy.md'),
|
||||
]);
|
||||
await testSmartstream.run();
|
||||
});
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartstream',
|
||||
version: '2.0.2',
|
||||
version: '2.0.3',
|
||||
description: 'simplifies access to node streams'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user