diff options
author | Rich Trott <rtrott@gmail.com> | 2021-03-26 08:51:08 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2021-04-01 23:14:29 -0700 |
commit | 330f25ef822dac6ed8a0afb3422bd920726eb43d (patch) | |
tree | bbf90ca3116946aba033d510364e0dbf209ae5b6 /test/parallel/test-webcrypto-export-import.js | |
parent | f0bf37317604061dc60ebf858d6ad4dfc313dcdc (diff) | |
download | node-new-330f25ef822dac6ed8a0afb3422bd920726eb43d.tar.gz |
test: prepare for consistent comma-dangle lint rule
Make changes so that tests will pass when the comma-dangle settings
applied to the rest of the code base are also applied to tests.
PR-URL: https://github.com/nodejs/node/pull/37930
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
Diffstat (limited to 'test/parallel/test-webcrypto-export-import.js')
-rw-r--r-- | test/parallel/test-webcrypto-export-import.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/parallel/test-webcrypto-export-import.js b/test/parallel/test-webcrypto-export-import.js index 93d8967f29..d7db433b36 100644 --- a/test/parallel/test-webcrypto-export-import.js +++ b/test/parallel/test-webcrypto-export-import.js @@ -153,12 +153,12 @@ const { subtle, getRandomValues } = require('crypto').webcrypto; spki, pkcs8, publicJwk, - privateJwk + privateJwk, ] = await Promise.all([ subtle.exportKey('spki', publicKey), subtle.exportKey('pkcs8', privateKey), subtle.exportKey('jwk', publicKey), - subtle.exportKey('jwk', privateKey) + subtle.exportKey('jwk', privateKey), ]); assert(spki); @@ -170,7 +170,7 @@ const { subtle, getRandomValues } = require('crypto').webcrypto; importedSpkiPublicKey, importedPkcs8PrivateKey, importedJwkPublicKey, - importedJwkPrivateKey + importedJwkPrivateKey, ] = await Promise.all([ subtle.importKey('spki', spki, { name: 'RSA-PSS', @@ -211,12 +211,12 @@ const { subtle, getRandomValues } = require('crypto').webcrypto; spki, pkcs8, publicJwk, - privateJwk + privateJwk, ] = await Promise.all([ subtle.exportKey('spki', publicKey), subtle.exportKey('pkcs8', privateKey), subtle.exportKey('jwk', publicKey), - subtle.exportKey('jwk', privateKey) + subtle.exportKey('jwk', privateKey), ]); assert(spki); @@ -228,7 +228,7 @@ const { subtle, getRandomValues } = require('crypto').webcrypto; importedSpkiPublicKey, importedPkcs8PrivateKey, importedJwkPublicKey, - importedJwkPrivateKey + importedJwkPrivateKey, ] = await Promise.all([ subtle.importKey('spki', spki, { name: 'ECDSA', |