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', () => {
519519 const show = ref ( false )
520520 createApp ( {
521521 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>
529529 ` ,
530530 components : {
531531 Child : {
@@ -560,13 +560,6 @@ describe('e2e: TransitionGroup', () => {
560560 )
561561
562562 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-
570563 await nextFrame ( )
571564 expect ( await html ( '#container' ) ) . toBe (
572565 `<div class="test">a</div>` +
You can’t perform that action at this time.
0 commit comments