fix(core): update
This commit is contained in:
		@@ -20,9 +20,9 @@ tap.test('should create a new instance', async () => {
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
tap.test('should add some files to watch and start', async () => {
 | 
			
		||||
  testSmartchok.add(['./test/assets/**/*.txt']);
 | 
			
		||||
  testSmartchok.add(['./test/**/*.txt']);
 | 
			
		||||
  await testSmartchok.start()
 | 
			
		||||
  testSmartchok.add(['./test/assets/**/*.md']);
 | 
			
		||||
  testSmartchok.add(['./test/**/*.md']);
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
tap.test('should get an observable for a certain event', async () => {
 | 
			
		||||
@@ -42,7 +42,8 @@ tap.test('should register an add operation', async () => {
 | 
			
		||||
  await testDeferred.promise;
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
tap.test('should stop the watch process', async () => {
 | 
			
		||||
tap.test('should stop the watch process', async (tools) => {
 | 
			
		||||
  await tools.delayFor(10000);
 | 
			
		||||
  testSmartchok.stop();
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user