Skip to content

Commit 2e9740d

Browse files
committed
Start work on generators for rdfc 2019 setup.
1 parent d52692e commit 2e9740d

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

tests/suites/algorithms.js

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88
issueCloned
99
} from 'data-integrity-test-suite-assertion';
1010
import {createInitialVc, endpointCheck} from '../helpers.js';
11-
import {expect} from 'chai';
1211
import {localVerifier} from '../vc-verifier/index.js';
1312

1413
export function commonAlgorithms({
@@ -83,7 +82,7 @@ export function ecdsaRdfc2019Algorithms({
8382
keyType,
8483
suiteName,
8584
vcVersion,
86-
suite = _suite
85+
setup = _setup
8786
}) {
8887
return describe(`${suiteName} - Algorithms - VC ${vcVersion}`, function() {
8988
this.matrix = true;
@@ -183,8 +182,18 @@ export function ecdsaRdfc2019Algorithms({
183182
});
184183
}
185184

186-
async function _suite({
187-
185+
async function _setup({
186+
credential,
187+
mandatoryPointers,
188+
selectivePointers,
189+
suiteName,
190+
keyType
188191
}) {
192+
const {
193+
invalidProofType,
194+
invalidCryptosuite
195+
} = generators?.mandatory;
196+
const credentials = new Map();
197+
const {invalidCreated} = generators?.dates;
189198

190199
}

0 commit comments

Comments
 (0)