add README

This commit is contained in:
2016-11-19 00:36:48 +01:00
parent 40f1e2c938
commit 396853f7c4
6 changed files with 67 additions and 10 deletions

View File

@ -14,7 +14,10 @@ describe('smartchok',function(){
})
it('should add some files to watch and start',function(done){
testSmartchok.add(['./test/assets/**/*.txt'])
testSmartchok.start().then(() => { done() }).catch(err => { console.log(err) })
testSmartchok.start().then(() => {
testSmartchok.add(['./test/assets/**/*.md'])
done()
}).catch(err => { console.log(err) })
})
it('should get an observable for a certain event',function(done){
testSmartchok.getObservableFor('add').then((observableArg) => {