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

@netflix/x-test

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netflix/x-test - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "@netflix/x-test",
"description": "a simple, tap-compliant test runner for the browser",
"version": "1.0.0",
"version": "1.0.1",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "repository": "https://github.com/Netflix/x-test",

@@ -770,3 +770,4 @@ /**

});
Object.assign(iframe, { id: step.testId, src: href });
iframe.setAttribute('data-x-test-test-id', step.testId);
Object.assign(iframe, { src: href });
Object.assign(iframe.style, {

@@ -1442,3 +1443,3 @@ border: 'none', backgroundColor: 'white', height: '100vh',

let suiteContext = null;
if (frameElement === null || !frameElement.id) {
if (!frameElement?.getAttribute('data-x-test-test-id')) {
const state = {

@@ -1461,3 +1462,3 @@ ended: false, waiting: false, children: [], stepIds: [], steps: {},

};
XTestSuite.initialize(suiteContext, frameElement.id, location.href);
XTestSuite.initialize(suiteContext, frameElement.getAttribute('data-x-test-test-id'), location.href);
}
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