Refactor #5553 - For Rating

This commit is contained in:
tugcekucukoglu 2024-04-09 10:55:04 +03:00
parent 6a4ed8d57a
commit 6b6f212ef3
6 changed files with 1 additions and 97 deletions

View file

@ -28,12 +28,6 @@ describe('Rating.vue', () => {
expect(wrapper.emitted()['blur'][0]).toEqual([true]);
});
it('should not cancel', async () => {
await wrapper.setProps({ cancel: false });
expect(wrapper.find('.p-rating-cancel').exists()).toBe(false);
});
it('When star is clicked, onOptionClick method should triggered', async () => {
await wrapper.find('.p-rating-item').trigger('click');