test: clarify config env var assertions

This commit is contained in:
Peter Steinberger
2026-05-08 12:36:47 +01:00
parent 1d8659fdcb
commit bc0abcee74

View File

@@ -47,7 +47,7 @@ describe("config env vars", () => {
}
}`);
expect(() => applyConfigEnvVars(cfg)).not.toThrow();
expect(applyConfigEnvVars(cfg)).toBeUndefined();
expect(process.env.API_TOKEN).toBe("sk-test-123");
expect(process.env.PORT).toBeUndefined();
expect(process.env.DEBUG).toBeUndefined();