We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ff16df commit bd7ff4eCopy full SHA for bd7ff4e
test/unit/specs/compiler/compile_spec.js
@@ -514,5 +514,19 @@ if (_.inBrowser) {
514
expect(hasWarned(_, 'attribute interpolation is allowed only in valid native attributes')).toBe(true)
515
})
516
517
+ it('warn directives on fragment instances', function () {
518
+ new Vue({
519
+ el: el,
520
+ template: '<test v-show="ok"></test>',
521
+ components: {
522
+ test: {
523
+ replace: true,
524
+ template: '123'
525
+ }
526
527
+ })
528
+ expect(hasWarned(_, 'v-show is ignored on component <test>')).toBe(true)
529
530
+
531
532
}
0 commit comments