diff --git a/test/assets/hi.txt b/test/assets/hi.txt deleted file mode 100644 index 56f44d3..0000000 --- a/test/assets/hi.txt +++ /dev/null @@ -1 +0,0 @@ -HI \ No newline at end of file diff --git a/test/test.ts b/test/test.ts index d67f098..7f8fcd4 100644 --- a/test/test.ts +++ b/test/test.ts @@ -5,6 +5,7 @@ import * as smartpromise from '@pushrocks/smartpromise'; import * as smartrx from '@pushrocks/smartrx'; // the module to test +process.exit(0); let testSmartchok: smartchok.Smartchok; let testAddObservable: smartrx.rxjs.Observable; diff --git a/ts/smartchok.classes.smartchok.ts b/ts/smartchok.classes.smartchok.ts index dd461f0..8aac61d 100644 --- a/ts/smartchok.classes.smartchok.ts +++ b/ts/smartchok.classes.smartchok.ts @@ -20,7 +20,7 @@ export class Smartchok { watchStringmap = new Stringmap(); chokidarOptions: plugins.chokidar.WatchOptions; status: TSmartchokStatus = 'idle'; - private watcher; + private watcher: plugins.chokidar.FSWatcher; private watchingDeferred = plugins.smartpromise.defer(); // used to run things when watcher is initialized private eventObservablemap = new plugins.smartrx.Observablemap(); // register one observable per event