@travetto/test
Advanced tools
Comparing version 0.0.59 to 0.0.60
@@ -30,3 +30,3 @@ { | ||
}, | ||
"version": "0.0.59" | ||
"version": "0.0.60" | ||
} |
@@ -91,2 +91,3 @@ import { LocalExecution, ChildExecution, serializeError, deserializeError } from '@travetto/exec'; | ||
!/@travetto\/(base|config|compiler|exec|pool)/.test(k) && | ||
!(k.startsWith(__filename.replace(/.[tj]s$/, ''))) && | ||
!/transformer\..*\.ts/.test(k)) { | ||
@@ -93,0 +94,0 @@ Compiler.unload(k); |
@@ -9,2 +9,3 @@ import { AssertUtil } from '../assert'; | ||
const DEFAULT_TIMEOUT = parseInt(process.env.DEFAULT_TIMEOUT || '5000', 10); | ||
const DEFAULT_PHASE_TIMEOUT = parseInt(process.env.DEFAULT_PHASE_TIMEOUT || '15000', 10); | ||
@@ -76,3 +77,3 @@ export function asyncTimeout(duration: number = DEFAULT_TIMEOUT): [Promise<any>, Function] { | ||
for (const fn of this.suite[phase]) { | ||
const [timeout, clear] = asyncTimeout(); | ||
const [timeout, clear] = asyncTimeout(DEFAULT_PHASE_TIMEOUT); | ||
await Promise.race([timeout, fn.call(this.suite.instance)]); | ||
@@ -79,0 +80,0 @@ clear(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50374
1421