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