Skip to content

Commit 40e37f1

Browse files
committed
remove transition text node warn spec
1 parent 63dd9d3 commit 40e37f1

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

test/unit/features/transition/transition-mode.spec.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -336,12 +336,5 @@ if (!isIE9) {
336336
}).$mount()
337337
expect('invalid <transition> mode: foo').toHaveBeenWarned()
338338
})
339-
340-
it('warn usage on non element/component', () => {
341-
new Vue({
342-
template: '<transition mode="foo">foo</transition>'
343-
}).$mount()
344-
expect('<transition> can only be used on elements or components, not text nodes.').toHaveBeenWarned()
345-
})
346339
})
347340
}

0 commit comments

Comments
 (0)