mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-23 14:31:15 +00:00
9 lines
322 B
TypeScript
9 lines
322 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { decodeHtmlEntities } from "./html-entity-runtime.js";
|
|
|
|
describe("decodeHtmlEntities", () => {
|
|
it("exposes single-pass HTML5 decoding to plugins", () => {
|
|
expect(decodeHtmlEntities("© &lt; 😀 �")).toBe("© < 😀 �");
|
|
});
|
|
});
|