78521fe11 days ago16 lines · 422 B| 1 | import { expect, test } from "bun:test"; |
| 2 | |
| 3 | import { loadConfig } |
| 4 | |
| 5 | test("fills defaults", () |
| 6 | const config = |
| 7 | IMPORTER_SECRET: "a-secret-long-enough", |
| 8 | GHOST_API_URL: "http://api:3001", |
| 9 | }); |
| 10 | expect(config.PORT |
| 11 | expect(config.IMPORTER_CONCURRENCY |
| 12 | }); |
| 13 | |
| 14 | test("names what is missing", () |
| 15 | expect(() => |
| 16 | }); |