Add initial VibeGuard browser extension

This commit is contained in:
Jordan Wages 2026-08-24 15:27:46 -05:00
commit 9c65a61ebb
43 changed files with 125275 additions and 2 deletions

9
tests/hash.test.ts Normal file
View file

@ -0,0 +1,9 @@
import { describe, expect, it } from "vitest";
import { hashText, normalizeText } from "../src/shared/hash";
describe("text hashing", () => {
it("normalizes whitespace and casing", () => {
expect(normalizeText(" Hello\n WORLD ")).toBe("hello world");
expect(hashText("hello world")).toBe(hashText("HELLO\nWORLD"));
});
});