Skip to content

Commit fdf0219

Browse files
committed
Add unit test for Vue.mixin
1 parent df11a8e commit fdf0219

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/lib/utils/vue-component.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@ function invalidTests (ext) {
120120
parserOptions,
121121
errors: [makeError(1)]
122122
},
123+
{
124+
filename: `test.${ext}`,
125+
code: `Vue.mixin({})`,
126+
parserOptions,
127+
errors: [makeError(1)]
128+
},
123129
{
124130
filename: `test.${ext}`,
125131
code: `

0 commit comments

Comments
 (0)