From 550f29ec71f4d8bad3d8dfb47c8b6b77ebbf10ea Mon Sep 17 00:00:00 2001 From: wes-smith Date: Mon, 12 Feb 2024 17:54:50 -0500 Subject: [PATCH] Fix linting issue. --- test/EcdsaXi2023Cryptosuite.spec.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/test/EcdsaXi2023Cryptosuite.spec.js b/test/EcdsaXi2023Cryptosuite.spec.js index a0c31c5..cd0f4b9 100644 --- a/test/EcdsaXi2023Cryptosuite.spec.js +++ b/test/EcdsaXi2023Cryptosuite.spec.js @@ -28,7 +28,8 @@ const extraInformation = new Uint8Array([ 12, 52, 75, 63 ]); const includeTimestamp = false; -const ecdsaXi2023Cryptosuite = createCryptosuite({extraInformation, includeTimestamp}); +const ecdsaXi2023Cryptosuite = createCryptosuite({extraInformation, + includeTimestamp}); describe('EcdsaXi2023Cryptosuite', () => { describe('exports', () => { @@ -151,14 +152,16 @@ describe('EcdsaXi2023Cryptosuite', () => { expect(error).to.not.exist; }); - it('should contain a timestamp with includeTimestamp = true passed', async () => { + it('should contain a timestamp with includeTimestamp = true', async () => { const unsignedCredential = JSON.parse(JSON.stringify(credential)); const keyPair = await EcdsaMultikey.from({...ecdsaMultikeyKeyPair}); const date = '2023-03-01T21:29:24Z'; const includeTimestamp = true; - const ecdsaXi2023CryptosuiteWithTimestamp = createCryptosuite({extraInformation, includeTimestamp}); + const ecdsaXi2023CryptosuiteWithTimestamp = createCryptosuite( + {extraInformation, includeTimestamp}); const suite = new DataIntegrityProof({ - signer: keyPair.signer(), date, cryptosuite: ecdsaXi2023CryptosuiteWithTimestamp + signer: keyPair.signer(), date, + cryptosuite: ecdsaXi2023CryptosuiteWithTimestamp }); let error;