(n)
| 27 | * Infinite scroll related endpoints. |
| 28 | */ |
| 29 | const randInt = (n) => { |
| 30 | return Math.floor(Math.random()) * n; |
| 31 | }; |
| 32 | |
| 33 | const squareImgUrl = (width) => { |
| 34 | return `http://picsum.photos/${width}?${randInt(50)}`; |
no outgoing calls
no test coverage detected