Skip to main content
Home

Built and signed on GitHub Actions

a simple, tap-compliant test runner for the browser

This package works with BrowsersIt is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
52%
Published
3 months ago (1.0.3)
class __XTestRoot__

Static Methods

analyzeHrefCoverage(
coverageValue,
href,
goal,
)
bail(
context,
error,
options,
): void
check(context): void
childOk(
context,
child,
options,
)
count(
context,
stepId,
)
directive(
context,
stepId,
)
end(context): void
href(
context,
stepId,
)
initialize(
context,
href,
): void
kickoffCoverage(
context,
stepId,
): void
kickoffDescribeEnd(
context,
stepId,
): void
kickoffDescribePlan(
context,
stepId,
): void
kickoffDescribeStart(
context,
stepId,
): void
kickoffExit(
context,
stepId,
): void
kickoffIt(
context,
stepId,
): void
kickoffTestEnd(
context,
stepId,
): void
kickoffTestPlan(
context,
stepId,
): void
kickoffTestStart(
context,
stepId,
): void
kickoffVersion(
context,
stepId,
): void
level(
context,
stepId,
)
log(
context,
...tap,
): void
number(
context,
stepId,
)
ok(
context,
stepId,
)
onBail(
context,
event,
): void
onCoverageResult(
context,
event,
): void
onPing(context): void
onReady(
context,
event,
): void
onRegister(
context,
event,
): void
onResult(
context,
event,
): void
output(
context,
stepId,
...stepTap,
): void
registerCoverage(
context,
data,
): void
registerDescribeEnd(
context,
data,
): void
registerDescribeStart(
context,
data,
): void
registerIt(
context,
data,
): void
registerTest(
context,
data,
): void
requestCoverageValue(context): void
text(
context,
stepId,
)
yaml(
context,
stepId,
)

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@netflix/x-test

Import symbol

import { __XTestRoot__ } from "@netflix/x-test";
or

Import directly with a jsr specifier

import { __XTestRoot__ } from "jsr:@netflix/x-test";

Add Package

pnpm i jsr:@netflix/x-test
or (using pnpm 10.8 or older)
pnpm dlx jsr add @netflix/x-test

Import symbol

import { __XTestRoot__ } from "@netflix/x-test";

Add Package

yarn add jsr:@netflix/x-test
or (using Yarn 4.8 or older)
yarn dlx jsr add @netflix/x-test

Import symbol

import { __XTestRoot__ } from "@netflix/x-test";

Add Package

vlt install jsr:@netflix/x-test

Import symbol

import { __XTestRoot__ } from "@netflix/x-test";

Add Package

npx jsr add @netflix/x-test

Import symbol

import { __XTestRoot__ } from "@netflix/x-test";

Add Package

bunx jsr add @netflix/x-test

Import symbol

import { __XTestRoot__ } from "@netflix/x-test";