Skip to content

Commit 3f0a141

Browse files
committed
chore(compat): skip tbody-transition tests in Vue 3
* @vue/test-utils v2 does not allow stub transitions ATM
1 parent 35c888e commit 3f0a141

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/table/table-tbody-transition.spec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ import { isVue3 } from '../../vue'
44
import { BTable } from './table'
55

66
// Stub `<transition-group>` component
7-
vtuConfig.stubs['transition-group'] = TransitionGroupStub
7+
if (!isVue3) {
8+
vtuConfig.stubs['transition-group'] = TransitionGroupStub
9+
}
810

911
const testItems = [{ a: 1, b: 2, c: 3 }, { a: 5, b: 5, c: 6 }, { a: 7, b: 8, c: 9 }]
1012
const testFields = ['a', 'b', 'c']

0 commit comments

Comments
 (0)