diff --git a/test/test.ts b/test/test.ts index baa7d6f..7c975de 100644 --- a/test/test.ts +++ b/test/test.ts @@ -27,8 +27,8 @@ const req = (opts: https.RequestOptions): Promise => { }; const sslOptions = { - key: fs.readFileSync(__dirname + '/ssl-cert-snakeoil.key'), - cert: fs.readFileSync(__dirname + '/ssl-cert-snakeoil.pem') + key: fs.readFileSync('test/ssl-cert-snakeoil.key'), + cert: fs.readFileSync('test/ssl-cert-snakeoil.pem') }; function json(res: http.IncomingMessage): Promise {