Fix build failure with newest @types/mocha (#21075)

This commit is contained in:
Andy
2018-01-08 14:34:09 -08:00
committed by Mohamed Hegazy
parent b1a0261575
commit 464df8f699

View File

@@ -55,7 +55,7 @@ namespace Harness.Parallel.Worker {
retries() { return this; },
slow() { return this; },
timeout(n) {
timeout = n;
timeout = n as number;
return this;
},
};
@@ -127,7 +127,7 @@ namespace Harness.Parallel.Worker {
const fakeContext: Mocha.ITestCallbackContext = {
skip() { return this; },
timeout(n) {
timeout = n;
timeout = n as number;
return this;
},
retries() { return this; },