Fixed #5591 - warning property name changed as warn

This commit is contained in:
tugcekucukoglu 2024-04-16 10:34:11 +03:00
parent 9bdabd8530
commit f98feec612
14 changed files with 28 additions and 28 deletions

View file

@ -9,14 +9,14 @@ describe('Badge.vue', () => {
wrapper = mount(Badge, {
props: {
value: '29',
severity: 'warning',
severity: 'warn',
size: 'large'
}
});
});
it('should exist', () => {
expect(wrapper.find('.p-badge.p-component').exists()).toBe(true);
expect(wrapper.find('.p-badge-warning').exists()).toBe(true);
expect(wrapper.find('.p-badge-warn').exists()).toBe(true);
expect(wrapper.find('.p-badge-lg').exists()).toBe(true);
expect(wrapper.find('.p-badge-no-gutter').exists()).toBe(false);