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". |
||
|---|---|---|
| .. | ||
| _archive/server/tasks | ||
| client | ||
| server | ||