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 <fbenoit@redhat.com>
This commit is contained in:
Florent BENOIT 2024-08-26 11:10:40 +02:00
parent 4923933897
commit 4fbdde10e1

View file

@ -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);