Skip to content

Commit

Permalink
Fix linting issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
wes-smith committed Feb 12, 2024
1 parent 219434b commit 550f29e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions test/EcdsaXi2023Cryptosuite.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 550f29e

Please sign in to comment.