Skip to content

Commit a8dda5c

Browse files
committed
perf: update transition for test
1 parent 86a9046 commit a8dda5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/_util/transition.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ if (process.env.NODE_ENV === 'test') {
4444
Transition = (_, { slots }) => {
4545
return slots.default?.();
4646
};
47+
Transition.inheritAttrs = false;
4748
TransitionGroup = defineComponent({
49+
inheritAttrs: false,
4850
props: ['tag', 'class'],
4951
setup(props, { slots }) {
5052
const { tag: Tag = Fragment, ...rest } = props;

0 commit comments

Comments
 (0)