@open-wc/testing-helpers
Advanced tools
Comparing version 1.8.4 to 1.8.5
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.8.5](https://github.com/open-wc/open-wc/compare/@open-wc/testing-helpers@1.8.4...@open-wc/testing-helpers@1.8.5) (2020-08-04) | ||
### Bug Fixes | ||
* **testing-helpers:** change default timeout to 1000ms for waitUntil ([dacf46f](https://github.com/open-wc/open-wc/commit/dacf46faccc9939e26902ef4fbbb102418b81ba2)) | ||
## [1.8.4](https://github.com/open-wc/open-wc/compare/@open-wc/testing-helpers@1.8.3...@open-wc/testing-helpers@1.8.4) (2020-07-08) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@open-wc/testing-helpers", | ||
"version": "1.8.4", | ||
"version": "1.8.5", | ||
"publishConfig": { | ||
@@ -39,3 +39,3 @@ "access": "public" | ||
}, | ||
"gitHead": "72c70d66fcc65b6395442a177a1a5220d261e8bf" | ||
"gitHead": "2c8045c373304bedac7974cec2e40a0e63bb1991" | ||
} |
@@ -154,3 +154,3 @@ let defineCECounter = 0; | ||
export function waitUntil(predicate, message, options = {}) { | ||
const { interval = 50, timeout = 2000 } = options; | ||
const { interval = 50, timeout = 1000 } = options; | ||
@@ -162,3 +162,3 @@ return new Promise((resolve, reject) => { | ||
clearTimeout(timeoutId); | ||
reject(new Error(message ? `Timeout: ${message}` : 'waitUntil timed out')); | ||
reject(new Error(message ? `Timeout: ${message}` : `waitUntil timed out after ${timeout}ms`)); | ||
}, timeout); | ||
@@ -165,0 +165,0 @@ |
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
77048