(depth)
| 54 | } |
| 55 | |
| 56 | function buildNestedNorQuery(depth) { |
| 57 | let where = { username: 'test' }; |
| 58 | for (let i = 0; i < depth; i++) { |
| 59 | where = { $nor: [where, { username: 'test' }] }; |
| 60 | } |
| 61 | return where; |
| 62 | } |
| 63 | |
| 64 | describe('config validation', () => { |
| 65 | it('should accept valid requestComplexity config', async () => { |
no outgoing calls
no test coverage detected