(key, cert)
| 30 | describe('use-system-ca', function() { |
| 31 | |
| 32 | async function setupServer(key, cert) { |
| 33 | const theServer = https.createServer({ |
| 34 | key: fixtures.readKey(key), |
| 35 | cert: fixtures.readKey(cert), |
| 36 | }, handleRequest); |
| 37 | theServer.listen(0); |
| 38 | await once(theServer, 'listening'); |
| 39 | |
| 40 | return theServer; |
| 41 | } |
| 42 | |
| 43 | let server; |
| 44 |
no test coverage detected