File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
1111 isValidUtf8 ,
1212 setupReportableTestSuite ,
1313 setupRow
14- } from '.. /helpers.js' ;
14+ } from './helpers.js' ;
1515import chai from 'chai' ;
1616import { endpoints } from 'vc-test-suite-implementations' ;
1717
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import * as bs64 from 'base64url-universal';
77import { createRequire } from 'node:module' ;
88import { isUtf8 } from 'node:buffer' ;
99import { klona } from 'klona' ;
10+ import { readFileSync } from 'fs' ;
1011import { v4 as uuidv4 } from 'uuid' ;
1112
1213export const require = createRequire ( import . meta. url ) ;
@@ -35,6 +36,9 @@ export const ISOTimeStamp = ({date = new Date()} = {}) => {
3536 *
3637 * @returns {Promise<object> } The resulting issuance result.
3738 */
39+
40+ export const config = JSON . parse ( readFileSync ( './config/runner.json' ) ) ;
41+
3842export const createInitialVc = async ( {
3943 issuer,
4044 vc,
@@ -270,3 +274,11 @@ export function createValidCredential(version = 2) {
270274 }
271275 return credential ;
272276}
277+
278+ export function setupRow ( ) {
279+ // append test meta data to the it/test this.
280+ this . currentTest . cell = {
281+ columnId : this . currentTest . parent . title ,
282+ rowId : this . currentTest . title
283+ } ;
284+ }
You can’t perform that action at this time.
0 commit comments