fix(core): update

This commit is contained in:
2024-06-02 16:42:42 +02:00
parent e52ce7af61
commit 17e03e9790
16 changed files with 331 additions and 160 deletions

15
test/test.ts.ts Normal file
View File

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