chore: update test snapshot

This commit is contained in:
zernonia 2023-12-21 09:11:07 +08:00
parent 3a049d53ad
commit eccfc9940d
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ const props = defineProps({
foo: { type: String, required: false, default: \\"bar\\" },
for: { type: String, required: false },
asChild: { type: Boolean, required: false },
as: { type: [String, Object], required: false },
as: { type: null, required: false },
});
export {};
</script>

View File

@ -77,8 +77,8 @@ describe('transformSFC', () => {
`,
config: {},
})
// TODO: Ignore test until https://github.com/radix-vue/shadcn-vue/issues/187 is resolved
// expect(result).toMatchSnapshot()
// TODO: We need to improve this. https://github.com/radix-vue/shadcn-vue/issues/187
expect(result).toMatchSnapshot()
})
test('defineEmits', async () => {