Skip to content

Commit

Permalink
test client
Browse files Browse the repository at this point in the history
  • Loading branch information
0xverin committed Jan 26, 2024
1 parent 4a945ee commit f76265a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tee-worker/ts-tests/integration-tests/data-providers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('Test Vc (direct invocation)', function () {
let teeShieldingKey: KeyObject = undefined as any;
const substrateIdentities: CorePrimitivesIdentity[] = [];

const client = process.env.BINARY_DIR + '/litentry-cli';
const clientDir = process.env.BINARY_DIR + '/litentry-cli';

const reqExtHash = '0x0000000000000000000000000000000000000000000000000000000000000000';
const keyringPairs: KeyringPair[] = [];
Expand Down Expand Up @@ -59,6 +59,8 @@ describe('Test Vc (direct invocation)', function () {
substrateIdentities.push(substrateIdentity);
const eventsPromise = subscribeToEventsWithExtHash(reqExtHash, context);
try {
// CLIENT = "$CLIENT_BIN -p $NPORT -P $WORKER1PORT -u $NODEURL -U $WORKER1URL"
const client = zx`${clientDir} -p 9912 -P 2011 -u ws://litentry-node -U wss://litentry-worker-1`;
await zx`${client} trusted -d link-identity did:litentry:substrate:${formatAddress}\
did:${credentialDefinitionMap[id].mockDid}\
${credentialDefinitionMap[id].mockWeb3Network}`;
Expand Down

0 comments on commit f76265a

Please sign in to comment.