Skip to content

Commit 4edf3a5

Browse files
committed
Comment out jcs & correct naming in before statement.
1 parent 280abf8 commit 4edf3a5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

tests/80-data-model.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import {getSuiteConfig} from './test-config.js';
88

99
const cryptosuites = [
1010
'ecdsa-rdfc-2019',
11-
'ecdsa-jcs-2019'
11+
'ecdsa-sd-2023'
12+
//FIXME implement jcs 'ecdsa-jcs-2019'
1213
];
1314

1415
for(const suiteName of cryptosuites) {

tests/suites/data-model.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ export function dataModelSuite({
3939
mandatoryPointers
4040
});
4141
if(securedCredential) {
42-
proofs = Array.isArray(securedCredential.proofs) ?
43-
securedCredential?.proofs : [securedCredential?.proofs];
42+
proofs = Array.isArray(securedCredential.proof) ?
43+
securedCredential?.proof : [securedCredential?.proof];
4444
// only test proofs that match the relevant cryptosuite
45-
proofs.filter(p => p.cryptosuite === suiteName);
45+
proofs = proofs.filter(p => p?.cryptosuite === suiteName);
4646
}
4747
});
4848
beforeEach(function() {

0 commit comments

Comments
 (0)