mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed failed tests
This commit is contained in:
parent
de7c737ba2
commit
d0ec2bc110
3 changed files with 5 additions and 7 deletions
|
@ -32,11 +32,11 @@ describe('Password.vue', () => {
|
|||
});
|
||||
|
||||
it('should meter update', async () => {
|
||||
expect(wrapper.find('.p-password-info').text()).toBe('');
|
||||
expect(wrapper.find('.p-password-info').text()).toBe('Enter a password');
|
||||
|
||||
await wrapper.vm.onKeyUp(event);
|
||||
|
||||
expect(wrapper.find('.p-password-info').text()).toBe('');
|
||||
expect(wrapper.find('.p-password-info').text()).toBe('Weak');
|
||||
|
||||
expect(wrapper.find('.p-password-strength').classes()).toContain('weak');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue