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

@netflix/x-test

Package Overview
Dependencies
Maintainers
10
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-rc.19 to 1.0.0-rc.20

demo/debug/index.html

5

demo/index.js

@@ -5,2 +5,7 @@ import { it, assert } from '../x-test.js';

assert(true);
// You wouldn't normally do this, we remove our own frame here to make sure
// that the content rendered on the page actually causes a navigation. This
// "test" is really just a demo.
setTimeout(() => { frameElement.remove(); });
});

2

package.json
{
"name": "@netflix/x-test",
"version": "1.0.0-rc.19",
"version": "1.0.0-rc.20",
"description": "a simple, tap-compliant test runner for the browser",

@@ -5,0 +5,0 @@ "main": "x-test.js",

@@ -759,2 +759,5 @@ /**

static kickoffTestStart(context, stepId) {
// Destroy prior test. This keeps the final test around for debugging.
const lastIframe = document.querySelector('iframe');
lastIframe?.remove();
// Create the new test.

@@ -786,5 +789,2 @@ const step = context.state.steps[stepId];

static kickoffTestEnd(context, stepId) {
// Destroy test.
const lastIframe = document.querySelector('iframe');
lastIframe?.remove();
const number = XTestRoot.number(context, stepId);

@@ -791,0 +791,0 @@ const ok = XTestRoot.ok(context, stepId);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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