From 4fbdde10e1830874a182fa694d8a2c2537e8e3bb Mon Sep 17 00:00:00 2001 From: Florent BENOIT Date: Mon, 26 Aug 2024 11:10:40 +0200 Subject: [PATCH] Update packages/main/src/plugin/kubernetes-client-kubeconfig.spec.ts Co-authored-by: Luca Stocchi <49404737+lstocchi@users.noreply.github.com> Signed-off-by: Florent BENOIT --- packages/main/src/plugin/kubernetes-client-kubeconfig.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/main/src/plugin/kubernetes-client-kubeconfig.spec.ts b/packages/main/src/plugin/kubernetes-client-kubeconfig.spec.ts index 3b17d330b00..77f158af4a2 100644 --- a/packages/main/src/plugin/kubernetes-client-kubeconfig.spec.ts +++ b/packages/main/src/plugin/kubernetes-client-kubeconfig.spec.ts @@ -120,7 +120,7 @@ describe('context tests', () => { await client.deleteContext(originalContexts[0].name); if (!originalContexts[1]?.name) { - throw new Error('originalContexts[0].name should be defined'); + throw new Error('originalContexts[1].name should be defined'); } const contexts = await client.deleteContext(originalContexts[1].name);