File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed
packages/vue/__tests__/e2e Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -519,13 +519,13 @@ describe('e2e: TransitionGroup', () => {
519
519
const show = ref ( false )
520
520
createApp ( {
521
521
template : `
522
- <div id="container">
523
- <transition-group name="test">
524
- <div v-for="item in items" :key="item" class="test">{{item}}</div>
525
- <Child key="child"/>
526
- </transition-group>
527
- </div>
528
- <button id="toggleBtn" @click="click">button</button>
522
+ <div id="container">
523
+ <transition-group name="test">
524
+ <div v-for="item in items" :key="item" class="test">{{item}}</div>
525
+ <Child key="child"/>
526
+ </transition-group>
527
+ </div>
528
+ <button id="toggleBtn" @click="click">button</button>
529
529
` ,
530
530
components : {
531
531
Child : {
@@ -560,13 +560,6 @@ describe('e2e: TransitionGroup', () => {
560
560
)
561
561
562
562
await transitionFinish ( duration )
563
- expect ( await html ( '#container' ) ) . toBe (
564
- `<div class="test test-enter-active test-enter-to">a</div>` +
565
- `<div class="test test-enter-active test-enter-to">b</div>` +
566
- `<div class="test test-enter-active test-enter-to">c</div>` +
567
- `<div class="test test-enter-from test-enter-active">child</div>`
568
- )
569
-
570
563
await nextFrame ( )
571
564
expect ( await html ( '#container' ) ) . toBe (
572
565
`<div class="test">a</div>` +
You can’t perform that action at this time.
0 commit comments