We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c3aab3 commit c687ea9Copy full SHA for c687ea9
1 file changed
test/openshift/cluster.test.ts
@@ -96,6 +96,13 @@ suite('Openshift/Cluster', () => {
96
expect(status).null;
97
});
98
99
+ test('exits if the user refuses to select the way to log in to the cluster', async () => {
100
+ loginStub.resolves('Yes');
101
+ quickPickStub.resolves(undefined);
102
+ const status = await Cluster.login();
103
+ expect(status).null;
104
+ });
105
+
106
test('logins to new cluster if user answer yes to a warning', async () => {
107
loginStub.resolves(false);
108
infoStub.resolves('Yes');
0 commit comments