Skip to content

Commit fbf4580

Browse files
committed
fix name option test case
1 parent 50b79bb commit fbf4580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/specs/global_api_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ describe('Global API', function () {
119119
Test.component('ns-tree', def)
120120
var component = Test.options.components['ns-tree']
121121
expect(typeof component).toBe('function')
122-
expect(component.name).toBe('Component1')
122+
expect(component.options.name).toBe('Component1')
123123
})
124124
})
125125
})

0 commit comments

Comments
 (0)