Rename package to @nym.sh/jrx

Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
2026-02-28 01:42:09 +00:00
parent 99fe5e1db9
commit e641c33f56
21 changed files with 142 additions and 142 deletions

View File

@@ -1,6 +1,6 @@
import { describe, it, expect } from "bun:test";
import { render } from "./render";
import { FRAGMENT, type JsonsxNode } from "./types";
import { FRAGMENT, type JrxNode } from "./types";
import { jsx } from "./jsx-runtime";
import {
Stack,
@@ -300,7 +300,7 @@ describe("state passthrough", () => {
// =============================================================================
describe("error handling", () => {
it("throws for non-JsonsxNode input", () => {
expect(() => render({} as JsonsxNode)).toThrow(/expects a JsonsxNode/);
it("throws for non-JrxNode input", () => {
expect(() => render({} as JrxNode)).toThrow(/expects a JrxNode/);
});
});