test: stand up test scaffolding with bun test

- Create test/ directory with a minimal LogService test
- Prove out the pattern: bun test natively discovers and runs tests
  in the test/ directory using ESM-style imports from ../src/
This commit is contained in:
2026-05-05 14:58:56 -04:00
committed by Jonathan Bernard
parent f405c0bc5a
commit c957150879
+11
View File
@@ -0,0 +1,11 @@
import { describe, test, expect } from "bun:test";
import { LogService } from "../src/log-service";
describe("LogService", () => {
test("creates a root logger on construction", () => {
const svc = new LogService();
expect(svc.ROOT_LOGGER).toBeDefined();
expect(svc.ROOT_LOGGER.name).toBe("ROOT");
});
});