@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 13 lines 396 Bytes
Raw
1 import { describe, expect, it } from "vite-plus/test";
2
3 import { resolveHighlightLanguage } from "./highlightLanguage";
4
5 describe("resolveHighlightLanguage", () => {
6 it.each([
7 ["src/init.luau", "lua"],
8 ["styles/page.xsl", "xml"],
9 ["styles/page.xslt", "xml"],
10 ])("%s highlights as %s", (path, language) => {
11 expect(resolveHighlightLanguage({ path })).toBe(language);
12 });
13 });