A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
import { describe, expect, it } from "vite-plus/test";
import { createElement } from "react";
import { paragraphDirection } from "./bidi";
describe("paragraphDirection", () => {
it("follows the first letter", () => {
expect(paragraphDirection("Led a team of 5.")).toBe("ltr");
expect(paragraphDirection(createElement("span", null, "قاد فريقًا"))).toBe("rtl");
expect(paragraphDirection("2024 – 2026")).toBe("rtl");
});
});