fix(core): update

This commit is contained in:
2018-10-28 19:28:08 +01:00
parent 9c7f351998
commit 4b8bb062c7
6 changed files with 43 additions and 22 deletions

View File

@ -6,16 +6,18 @@ let testTsWatchInstance: tswatch.TsWatch;
tap.test('should create a valid TsWatch instance', async () => {
testTsWatchInstance = new tswatch.TsWatch({
filePathToWatch: process.cwd(),
commandToExecute: 'npm -v'
commandToExecute: 'npm -v',
timeout: 1000
});
});
tap.test('should start the tswatch instance', async () => {
testTsWatchInstance.start();
console.log('test executed');
});
tap.test('should run abitrary commands', async () => {
});
tap.start();