mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-01-10 16:29:12 +08:00
test: update snapshot for vue 3.5
This commit is contained in:
parent
4bd09577cc
commit
76ef36393e
@ -173,7 +173,7 @@ describe('Transform JSX', () => {
|
|||||||
return () => <input type="text" value={val} />;
|
return () => <input type="text" value={val} />;
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
expect(wrapper.html()).toBe('<input type="text">');
|
expect(wrapper.html()).toBe('<input type="text" value="foo">');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('domProps input[checked]', () => {
|
test('domProps input[checked]', () => {
|
||||||
|
@ -120,7 +120,7 @@ defineComponent((props: {
|
|||||||
} = defaults) => {
|
} = defaults) => {
|
||||||
return () => h('div', props.msg);
|
return () => h('div', props.msg);
|
||||||
}, {
|
}, {
|
||||||
props: /*#__PURE__*/_mergeDefaults({
|
props: /*@__PURE__*/_mergeDefaults({
|
||||||
msg: {
|
msg: {
|
||||||
type: String,
|
type: String,
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
Reference in New Issue
Block a user