fix(core): update

This commit is contained in:
2019-02-19 01:10:56 +01:00
parent b036bfcb92
commit 65a97c9ee0
15 changed files with 1895 additions and 702 deletions

View File

@ -1,15 +1,15 @@
import fs = require('fs')
import { expect, tap } from 'tapbundle'
import fs = require('fs');
import { expect, tap } from '@pushrocks/tapbundle';
import * as smartstream from '../dist/index'
import * as smartstream from '../ts/index';
let testSmartstream: smartstream.Smartstream
let testSmartstream: smartstream.Smartstream;
tap.test('should combine a stream', async () => {
testSmartstream = new smartstream.Smartstream([
fs.createReadStream('./test/assets/test.md'),
fs.createWriteStream('./test/assets/testCopy.md')
])
await testSmartstream.run()
})
]);
await testSmartstream.run();
});
tap.start()
tap.start();