fix tests
This commit is contained in:
parent
32ef623c68
commit
ed36b02fde
1 changed files with 6 additions and 0 deletions
|
@ -98,6 +98,8 @@ suite('Config', () => {
|
|||
});
|
||||
|
||||
test('watching', function (done: () => void) {
|
||||
this.timeout(10000); // watching is timing intense
|
||||
|
||||
testFile((error, testFile, cleanUp) => {
|
||||
if (error) {
|
||||
return onError(error, done);
|
||||
|
@ -124,6 +126,8 @@ suite('Config', () => {
|
|||
});
|
||||
|
||||
test('watching also works when file created later', function (done: () => void) {
|
||||
this.timeout(10000); // watching is timing intense
|
||||
|
||||
testFile((error, testFile, cleanUp) => {
|
||||
if (error) {
|
||||
return onError(error, done);
|
||||
|
@ -148,6 +152,8 @@ suite('Config', () => {
|
|||
});
|
||||
|
||||
test('watching detects the config file getting deleted', function (done: () => void) {
|
||||
this.timeout(10000); // watching is timing intense
|
||||
|
||||
testFile((error, testFile, cleanUp) => {
|
||||
if (error) {
|
||||
return onError(error, done);
|
||||
|
|
Loading…
Reference in a new issue