(server)
| 442 | } |
| 443 | |
| 444 | function stopServer(server) { |
| 445 | return new Promise((resolve) => server.close(resolve)); |
| 446 | } |
| 447 | |
| 448 | it('should not pick up Object.prototype.auth as an Authorization header', async () => { |
| 449 | Object.prototype.auth = { username: 'attacker', password: 'exfil' }; |
no outgoing calls
no test coverage detected