From 5d6ef8ad286974aad4ef6629c86631d8ff20078e Mon Sep 17 00:00:00 2001 From: Anmol Date: Thu, 3 Oct 2024 15:35:54 +0530 Subject: [PATCH] feature: update starship context to include timeout, update tests (#562) * update starship context to include timeout, update tests * add timeout to params * fix lint --- clients/js/__output__/custom-pod-ports.yaml | 1 + clients/js/packages/cli/src/utils.ts | 5 ++++- .../__tests__/__snapshots__/client.config.test.ts.snap | 4 ++-- .../__tests__/__snapshots__/client.ports.test.ts.snap | 4 ++-- .../client/__tests__/__snapshots__/client.test.ts.snap | 4 ++-- clients/js/packages/client/src/client.ts | 8 ++++++-- 6 files changed, 17 insertions(+), 9 deletions(-) diff --git a/clients/js/__output__/custom-pod-ports.yaml b/clients/js/__output__/custom-pod-ports.yaml index d26a75f69..1458b9981 100644 --- a/clients/js/__output__/custom-pod-ports.yaml +++ b/clients/js/__output__/custom-pod-ports.yaml @@ -7,6 +7,7 @@ chains: defaultPorts: rpc: 26657 grpc: 9090 + grpc-web: 9091 rest: 1317 exposer: 8081 faucet: 8000 diff --git a/clients/js/packages/cli/src/utils.ts b/clients/js/packages/cli/src/utils.ts index a4ad2489c..981c4f19b 100644 --- a/clients/js/packages/cli/src/utils.ts +++ b/clients/js/packages/cli/src/utils.ts @@ -38,7 +38,8 @@ export const params: string[] = [ 'repo', 'repoUrl', 'chart', - 'namespace' + 'namespace', + 'timeout', ]; export const loadConfig = (argv: any): Config => { @@ -89,6 +90,8 @@ Command-line Options: Will overide config file settings for name. --version Specify the version of the Helm chart, default: v0.2.6. Will overide config file settings for version. + --timeout