From c037e5907ca2a8da3e97b30e0cfb86ac2ab76ca3 Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Fri, 5 Feb 2021 12:43:42 +0100 Subject: [PATCH] style: lint cookbooks --- test/jwe/cookbook.test.mjs | 5 ++++- test/jws/cookbook.test.mjs | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/test/jwe/cookbook.test.mjs b/test/jwe/cookbook.test.mjs index 2e991224..f40844d7 100644 --- a/test/jwe/cookbook.test.mjs +++ b/test/jwe/cookbook.test.mjs @@ -936,7 +936,10 @@ Promise.all([ for (const vector of vectors) { let conditional; - if (('WEBCRYPTO' in process.env || 'CRYPTOKEY' in process.env) && vector.webcrypto === false) { + if ( + ('WEBCRYPTO' in process.env || 'CRYPTOKEY' in process.env) && + vector.webcrypto === false + ) { conditional = test.failing; } else { conditional = test; diff --git a/test/jws/cookbook.test.mjs b/test/jws/cookbook.test.mjs index a0a92f6a..5f73e656 100644 --- a/test/jws/cookbook.test.mjs +++ b/test/jws/cookbook.test.mjs @@ -513,7 +513,10 @@ Promise.all([ for (const vector of vectors) { let conditional; - if (('WEBCRYPTO' in process.env || 'CRYPTOKEY' in process.env) && vector.webcrypto === false) { + if ( + ('WEBCRYPTO' in process.env || 'CRYPTOKEY' in process.env) && + vector.webcrypto === false + ) { conditional = test.failing; } else { conditional = test;