Skip to content

Commit

Permalink
chore: revert testRelayer test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansonhkg committed Jul 12, 2024
1 parent 3b18295 commit 5c21795
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions local-tests/tests/testRelayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,7 @@ export const testRelayer = async (devEnv: TinnyEnvironment) => {
signer: alice.wallet,
};

let claimRes;

console.log('Initiating claimKeyId call');
try {
claimRes = await withTimeout(
devEnv.litNodeClient.claimKeyId(claimRequest),
10000
); // 10 seconds timeout
console.log('claimKeyId call completed');
// process claimRes as before
} catch (error) {
console.error('❗️ claimKeyId call failed or timed out');
devEnv.litNodeClient.disconnect();
throw new Error(error);
}
const claimRes = await devEnv.litNodeClient.claimKeyId(claimRequest);

// Expected output:
// {
Expand Down

0 comments on commit 5c21795

Please sign in to comment.