Interactive Angular 19 demo for @sda/notification-elements-ui with 6 sections: Bell & Feed, Notification Center, Inbox, Comments & Threads, Mention Input, and Full-Featured layout. Includes mock data, dark mode toggle, and real-time event log. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
363 B
JavaScript
14 lines
363 B
JavaScript
const { assert } = require("chai");
|
|
|
|
const { decode, encode } = require("../lib");
|
|
|
|
describe("UTF8", () => {
|
|
it("should f-1(f(x)) = x", () => {
|
|
assert.equal(decode(encode("foo")), "foo");
|
|
assert.equal(decode(encode("éé")), "éé");
|
|
|
|
// TODO(sven): utf8 encoder fails here
|
|
// assert.equal(decode(encode("🤣见見")), "🤣见見");
|
|
});
|
|
});
|