diff --git a/test/parallel/test-crypto-keygen.js b/test/parallel/test-crypto-keygen.js index 57ad087902d6e2..490886203823a1 100644 --- a/test/parallel/test-crypto-keygen.js +++ b/test/parallel/test-crypto-keygen.js @@ -608,11 +608,9 @@ const sec1EncExp = (cipher) => getRegExpForPEM('EC PRIVATE KEY', cipher); generateKeyPair('ec', { namedCurve: 'P-384', publicKeyEncoding: { - type: 'spki', format: 'jwk' }, privateKeyEncoding: { - type: 'pkcs8', format: 'jwk' } }, common.mustSucceed((publicKey, privateKey) => {