mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-11 09:52:35 +00:00
Refactor #5553 - For Rating
This commit is contained in:
parent
6a4ed8d57a
commit
6b6f212ef3
6 changed files with 1 additions and 97 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue