Skip to content

Commit

Permalink
Fix formatting error
Browse files Browse the repository at this point in the history
  • Loading branch information
wes-smith committed Feb 2, 2024
1 parent 1518661 commit 5194459
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/EcdsaXi2023Cryptosuite.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import {
ecdsaMultikeyKeyPair,
ecdsaSecp256KeyPair
} from './mock-data.js';
import {DataIntegrityProof} from '@digitalbazaar/data-integrity';
import {createCryptosuite} from '../lib/index.js';
import {DataIntegrityProof} from '@digitalbazaar/data-integrity';

import {loader} from './documentLoader.js';

Expand Down Expand Up @@ -191,7 +191,7 @@ describe('EcdsaXi2023Cryptosuite', () => {
expect(error).to.exist;
expect(error.name).to.equal('jsonld.ValidationError');
});

it('should fail to sign with non-string extraInformation', async () => {
const unsignedCredential = JSON.parse(JSON.stringify(credential));
unsignedCredential.type.push('UndefinedType');
Expand All @@ -217,7 +217,7 @@ describe('EcdsaXi2023Cryptosuite', () => {
expect(error).to.exist;
expect(error.name).to.equal('jsonld.ValidationError');
});

it('should fail to sign with incorrect signer algorithm', async () => {
const keyPair = await EcdsaMultikey.from({...ecdsaMultikeyKeyPair});
const date = '2023-03-01T21:29:24Z';
Expand Down

0 comments on commit 5194459

Please sign in to comment.