chore: bootstrap portal application
This commit is contained in:
1 parent
90e53e7d56
commit
763098b129
20 files changed
+5703
-1
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { describe, expect, test } from "vitest";
|
||||
import { parseServerEnv } from "./env";
|
||||
|
||||
describe("parseServerEnv", () => {
|
||||
test("rejects a missing Immich API key", () => {
|
||||
expect(() => parseServerEnv({ DATABASE_URL: "postgres://db/app" })).toThrow(
|
||||
/IMMICH_API_KEY/,
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user