mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-04-23 18:12:33 +08:00
style: fix formatting
This commit is contained in:
parent
a4d01377ec
commit
f84b81afac
@ -371,12 +371,12 @@ describe('PatchFlags', () => {
|
|||||||
return () => (
|
return () => (
|
||||||
<button value={`${foo.value}`} onClick={() => foo.value++}></button>
|
<button value={`${foo.value}`} onClick={() => foo.value++}></button>
|
||||||
);
|
);
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
patchFlagExpect(wrapper, 8, ['value', 'onClick']);
|
patchFlagExpect(wrapper, 8, ['value', 'onClick']);
|
||||||
await wrapper.trigger('click');
|
await wrapper.trigger('click');
|
||||||
expect(wrapper.html()).toBe('<button value="1"></button>');
|
expect(wrapper.html()).toBe('<button value="1"></button>');
|
||||||
})
|
});
|
||||||
|
|
||||||
test('full props', async () => {
|
test('full props', async () => {
|
||||||
const wrapper = mount({
|
const wrapper = mount({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user