feat(smartstream): bump dependencies, update build/publish config, refactor tests, and overhaul documentation

This commit is contained in:
2026-02-28 08:48:58 +00:00
parent 3d13cb76f6
commit 9b9b1be62b
15 changed files with 5720 additions and 1756 deletions

View File

@@ -1,4 +1,4 @@
import * as smartfile from '@push.rocks/smartfile';
import * as fs from 'fs';
import { expect, tap } from '@push.rocks/tapbundle';
import * as smartstream from '../ts/smartstream.classes.streamwrapper.js';
@@ -6,10 +6,10 @@ 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'),
fs.createReadStream('./test/assets/test.md'),
fs.createWriteStream('./test/assets/testCopy.md'),
]);
await testSmartstream.run();
});
tap.start();
export default tap.start();