| 1 | import { describe, it, expect } from "bun:test"; |
| 2 | import { DEFAULT_REPO } from "./constants"; |
| 3 | |
| 4 | describe("constants", () => { |
| 5 | it("should have correct default repository", () => { |
| 6 | expect(DEFAULT_REPO).toBe("stevedylandev/bhvr"); |
| 7 | }); |
| 8 | |
| 9 | it("should be a string", () => { |
| 10 | expect(typeof DEFAULT_REPO).toBe("string"); |
| 11 | }); |
| 12 | |
| 13 | it("should follow GitHub repo format", () => { |
| 14 | expect(DEFAULT_REPO).toMatch(/^[a-zA-Z0-9_-]+\/[a-zA-Z0-9_-]+$/); |
| 15 | }); |
| 16 | }); |