Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@open-wc/testing-helpers

Package Overview
Dependencies
Maintainers
2
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-wc/testing-helpers - npm Package Compare versions

Comparing version 1.8.4 to 1.8.5

11

CHANGELOG.md

@@ -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 @@

4

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc