Rename package from jfx to jsonsx

Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
2026-02-28 01:37:10 +00:00
parent c9d4ff28e3
commit 99fe5e1db9
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 JfxNode } from "./types";
import { FRAGMENT, type JsonsxNode } from "./types";
import { jsx } from "./jsx-runtime";
import {
Stack,
@@ -300,7 +300,7 @@ describe("state passthrough", () => {
// =============================================================================
describe("error handling", () => {
it("throws for non-JfxNode input", () => {
expect(() => render({} as JfxNode)).toThrow(/expects a JfxNode/);
it("throws for non-JsonsxNode input", () => {
expect(() => render({} as JsonsxNode)).toThrow(/expects a JsonsxNode/);
});
});