Public: anyone can read this; the crew can change it.
A test pins changing quotas and capacity: an unknown key is refused, and nothing in the batch is applied #7104
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
changeQuotasinsrc/actions/quotas.tsrefuses an unknown key withno_such_quota, andchangeCapacityinsrc/actions/capacity.tswithno_such_setting. No test names either.Done:
no_such_quota, and the known one is not applied either.no_such_setting, and the capacity read is unchanged.Files: test/quota-capacity-keys.test.ts
If the test finds the behaviour wrong, fix the action in the same pull and say so. If the check fails in a test this pull does not touch, name it in the pull rather than widening the change.
Before pushing:
bun x tsc --noEmitand the new test.