Skip to content

Commit b3d83aa

Browse files
committed
test(service-settings): read the cascade chain as optional in the env refusal pin
Claude-Session: https://claude.ai/code/session_01UmqzD97e14iws6hmVhgZ5y Co-authored-by: Claude <noreply@anthropic.com>
1 parent 4f9294a commit b3d83aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/services/service-settings/src/settings-format-refusal.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ describe('env door — a format-missing override is rejected: not in force, repo
334334
expect(r.source).toBe('default');
335335
expect(r.value).not.toBe(c.bad);
336336
expect(r.locked).toBe(false);
337-
expect(r.cascadeChain.some((e) => e.scope === 'env')).toBe(false);
337+
expect((r.cascadeChain ?? []).map((e) => e.scope)).not.toContain('env');
338338
// Re-reads and the namespace payload do not repeat the line.
339339
await svc.get(c.ns, c.key, ADMIN());
340340
await svc.getNamespace(c.ns, ADMIN());

0 commit comments

Comments
 (0)