Scan your whole stack
Are you using @reckona/mreact-test-utils?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.0.235
@reckona/mreact-test-utils was last scanned on 24 Nov 2026 at version 0.0.235. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.0.235 LATEST | 24 Nov 2026 | No rules fired |
| 0.0.234 | 22 Oct 2026 | No rules fired |
| 0.0.233 | 10 Oct 2026 | No rules fired |
| 0.0.232 | 10 Oct 2026 | Not shown |
| 0.0.231 | 10 Oct 2026 | Not shown |
Findings for v0.0.235. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.0.235; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
@reckona/mreact-test-utils provides compact integration-test helpers for the
mreact app router and component-level reactive DOM tests. It wraps temporary app
directories, request helpers, reactive update flushing, and HTML assertions.
import { createAppFixture, responseText } from "@reckona/mreact-test-utils";
const fixture = await createAppFixture({
files: {
"page.tsx": "export default function Page() { return <main>Hello</main>; }",
},
});
const response = await fixture.render("/");
const html = await responseText(response);
For component-level tests, mount reactive DOM output directly and use act() to flush pending reactive work:
import { bindText } from "@reckona/mreact-reactive-dom";
import { act, createCellMock, render } from "@reckona/mreact-test-utils";
const count = createCellMock(0);
const view = render(() => {
const text = document.createTextNode("");
bindText(text, () => count.get());
return text;
});
await act(() => {
count.set(1);
});
view.container.textContent;
// "1"
For unit tests that call app-router route handlers directly, use invokeRouteHandler() to translate mreact control-flow throws into the same Response objects the router boundary would produce:
import { redirect } from "@reckona/mreact-router";
import { invokeRouteHandler } from "@reckona/mreact-test-utils";
function POST(request: Request): Response {
if (!request.headers.get("cookie")) redirect("/login");
return Response.json({ ok: true });
}
const response = await invokeRouteHandler(POST, new Request("https://app.test/api", { method: "POST" }));
response.status;
// 303
createAppFixture() creates a temporary app and .mreact/ build output.fixture.render() sends requests through the router using Request / Response.fixture.write() adds or updates route files in the fixture app.render() mounts reactive DOM output into a container and returns { container, rerender, unmount }.act() runs sync or async mutations and waits for reactive effects to settle.flushReactive() drains pending reactive effects without wrapping a mutation.createCellMock() and createComputedMock() create real reactive primitives for focused unit tests.invokeRouteHandler() calls a route handler and converts redirect(), notFound(), and thrown Response control flow into a Response.responseText() reads a response body as a string.Use this package for scenario tests that cross router, query, auth, forms, and server-action boundaries. Because this repository is a public library, test scenario names should be specific and written in English.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.