Commit 48aeea8
committed
test(jelly-micro): validate RECALL_FLOORS keys against discovered fixtures
Add a startup check after discoverTests() that throws if any key in
RECALL_FLOORS does not match an actual fixture directory. A renamed or
mistyped fixture key would otherwise silently lower the recall floor to
0 with no warning, defeating the regression gate.
The check is gated on tests.length > 0 so it does not fire in CI
environments where the jelly-micro directory is gitignored.1 parent b7553ca commit 48aeea8
1 file changed
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | 57 | | |
60 | 58 | | |
61 | 59 | | |
| |||
84 | 82 | | |
85 | 83 | | |
86 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
87 | 104 | | |
88 | 105 | | |
89 | 106 | | |
| |||
0 commit comments