⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
import { render } from "react-email";
import { createElement } from "react";
import { describe, expect, it } from "vite-plus/test";
import MagicLinkEmail from "./magic-link";
describe("MagicLinkEmail", () => {
it("renders Japanese copy for a Japanese locale", async () => {
const html = await render(
createElement(MagicLinkEmail, {
magicLink: "https://kaneo.example/auth",
locale: "ja-JP",
}),
);
expect(html).toContain("Kaneo にサインイン");
expect(html).toContain("Kaneo セキュリティメール");
});
it("renders Traditional Chinese copy for a zh-TW locale", async () => {
const html = await render(
createElement(MagicLinkEmail, {
magicLink: "https://kaneo.example/auth",
locale: "zh-TW",
}),
);
expect(html).toContain("登入 Kaneo");
expect(html).toContain("Kaneo 安全性通知");
});
});