Update Button.spec.js
parent
738811ee0a
commit
69d0f98f26
|
@ -79,6 +79,8 @@ describe('Button.vue', () => {
|
|||
}
|
||||
});
|
||||
|
||||
expect(wrapper.html()).toBe('<button class="p-button p-component" type="button"><span class="ml-2 font-bold">Default PrimeVue Button</span></button>');
|
||||
expect(wrapper.html()).toBe(`<button class="p-button p-component" type="button"><span class="ml-2 font-bold">Default PrimeVue Button</span>
|
||||
<!--v-if-->
|
||||
</button>`);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue