mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2024-11-10 09:39:14 +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} />;
|
||||
},
|
||||
});
|
||||
expect(wrapper.html()).toBe('<input type="text">');
|
||||
expect(wrapper.html()).toBe('<input type="text" value="foo">');
|
||||
});
|
||||
|
||||
test('domProps input[checked]', () => {
|
||||
|
@ -120,7 +120,7 @@ defineComponent((props: {
|
||||
} = defaults) => {
|
||||
return () => h('div', props.msg);
|
||||
}, {
|
||||
props: /*#__PURE__*/_mergeDefaults({
|
||||
props: /*@__PURE__*/_mergeDefaults({
|
||||
msg: {
|
||||
type: String,
|
||||
required: false
|
||||
|
Loading…
Reference in New Issue
Block a user