diff --git a/package.json b/package.json index d59649a..ed2f6c4 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "into-stream": "^2.0.0", "nyc": "^3.2.2", "pem": "^1.4.4", - "pify": "^2.2.0", + "pify": "^2.3.0", "tempfile": "^1.1.1", "xo": "*" }, diff --git a/test/https.js b/test/https.js index ce03957..87772fa 100644 --- a/test/https.js +++ b/test/https.js @@ -10,15 +10,15 @@ let cert; let caRootKey; let caRootCert; -let pemify = pify.all(pem); +const pemP = pify(pem); test.before('setup', async t => { - const caKeys = await pemify.createCertificate({days: 1, selfSigned: true}); + const caKeys = await pemP.createCertificate({days: 1, selfSigned: true}); caRootKey = caKeys.serviceKey; caRootCert = caKeys.certificate; - const keys = await pemify.createCertificate({ + const keys = await pemP.createCertificate({ serviceCertificate: caRootCert, serviceKey: caRootKey, serial: Date.now(),