Skip to content

Commit dfdf99c

Browse files
committed
Fix unit test error
Signed-off-by: Denis Golovin dgolovin@redhat.com
1 parent 84b20e4 commit dfdf99c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/openshift/component.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ suite('OpenShift/Component', () => {
451451
]);
452452
const result = await Component.createFromRootWorkspaceFolder(folder, [], undefined, 'componentType1');
453453
expect(result).equals(`Component '${componentItem.getName()}' successfully created. To deploy it on cluster, perform 'Push' action.`);
454-
expect(quickPickStub).calledTwice;
454+
expect(quickPickStub).calledOnce;
455455
expect(quickPickStub).have.not.calledWith({ placeHolder: 'Component type' })
456456
});
457457

0 commit comments

Comments
 (0)