smartstream/test/test.ts

17 lines
483 B
TypeScript
Raw Normal View History

2016-09-25 12:00:16 +00:00
import 'typings-test'
import fs = require('fs')
import * as should from 'should'
import * as smartstream from '../dist/index'
let testSmartstream: smartstream.Smartstream
describe('smartstream', function() {
it('should combine a stream', function(){
testSmartstream = new smartstream.Smartstream([
fs.createReadStream('./test/assets/test.md'),
fs.createWriteStream('./test/assets/testCopy.md')
])
testSmartstream.run()
})
})