@netflix/x-test
Advanced tools
Comparing version 1.0.0-rc.19 to 1.0.0-rc.20
@@ -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(); }); | ||
}); |
{ | ||
"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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
119902
38
2588
0