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 { 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();
|
||||||
});
|
});
|
||||||
|
@ -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'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user