GET /api/events now does find().sort().lean() (no .select()) since the handler strips registrations in the map step. The mock chain in members-only-visibility.test.js still expected .select(), causing all list tests to throw "lean is not a function". |
||
|---|---|---|
| .. | ||
| deadline.test.js | ||
| members-only-visibility.test.js | ||
| register-series.test.js | ||