test: update snapshot for vue 3.5

This commit is contained in:
三咲智子 Kevin Deng 2024-09-07 05:06:44 +08:00
parent 4bd09577cc
commit 76ef36393e
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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]', () => {

View File

@ -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