mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-15 01:10:43 +00:00
test: clarify config env var assertions
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user