now .src is fully working

This commit is contained in:
2017-04-30 01:13:53 +02:00
parent 2c18380fac
commit 6d3e7e7ba9
3 changed files with 12 additions and 19 deletions

View File

@ -7,15 +7,13 @@ import * as smartq from 'smartq'
tap.test('smartgulp.src -> should read a directoy', async () => {
let done = smartq.defer()
smartgulp.src(['./test/testfiles/**/*'])
smartgulp.src(['./test/testfiles/**/*.md'])
.pipe(gulpFunction.forEach(async (fileArg) => {
console.log(fileArg.path)
}))
.pipe(gulpFunction.atEnd(async () => {
console.log('hey')
done.resolve()
}))
done.resolve()
await done.promise
})