(depth, className = '_User')
| 6 | |
| 7 | describe('request complexity', () => { |
| 8 | function buildNestedInQuery(depth, className = '_User') { |
| 9 | let where = {}; |
| 10 | for (let i = 0; i < depth; i++) { |
| 11 | where = { username: { $inQuery: { className, where } } }; |
| 12 | } |
| 13 | return where; |
| 14 | } |
| 15 | |
| 16 | function buildNestedNotInQuery(depth, className = '_User') { |
| 17 | let where = {}; |
no outgoing calls
no test coverage detected