Commit e30c536
committed
test(supabase): pin both derived parameter groups, not just their total
Sixth instance of the vacuous-assertion pattern, found by auditing my own
each() call sites rather than waiting for review.
describe.each over an empty array emits no tests and no failure. KEY_PARAMS and
FLAT_PARAMS are derived by filtering PATH_PARAMS on the 'path' name, so renaming
that parameter would silently empty KEY_PARAMS and delete the entire legitimate
object keys block — the assertions proving folder/sub/file.png survives
byte-for-byte — while the floor on the total still passed. A floor on the sum
cannot see a shift between the two groups.
Verified non-vacuous: pointing the filter at a renamed parameter fails the new
assertion where everything else still passed.1 parent ce5f48c commit e30c536
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
103 | 118 | | |
104 | 119 | | |
105 | 120 | | |
| |||
0 commit comments