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 c902e1f commit 36e63c2Copy full SHA for 36e63c2
test/unit/features/global-api/mixin.spec.js
@@ -21,6 +21,7 @@ describe('Global API: mixin', () => {
21
it('should work for constructors created before mixin is applied', () => {
22
const calls = []
23
const Test = Vue.extend({
24
+ name: 'test',
25
init () {
26
calls.push(this.$options.myOption + ' local')
27
}
@@ -30,6 +31,7 @@ describe('Global API: mixin', () => {
30
31
calls.push(this.$options.myOption + ' global')
32
33
})
34
+ expect(Test.options.name).toBe('test')
35
new Test({
36
myOption: 'hello'
37
0 commit comments