From 0e067004a491ea55d369b7943018fe07e4df9d0c Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Tue, 7 Jun 2022 18:32:08 +0200 Subject: [PATCH] fix(core): update --- test/test.ts | 6 +++--- ts/00_commitinfo_data.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test.ts b/test/test.ts index 0a3913a..b15a83d 100644 --- a/test/test.ts +++ b/test/test.ts @@ -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(); }); diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 1ba6a55..0f983b6 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@pushrocks/smartstream', - version: '2.0.2', + version: '2.0.3', description: 'simplifies access to node streams' }