Skip to content
This repository was archived by the owner on Mar 8, 2019. It is now read-only.

Commit 64c62de

Browse files
committed
Test: Added new case in button component
1 parent dc85653 commit 64c62de

File tree

2 files changed

+216
-189
lines changed

2 files changed

+216
-189
lines changed

tests/components/button/Button.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,16 @@ export default {
8080
return 'foo'
8181
},
8282
},
83+
/**
84+
* Object or array defaults must be returned from
85+
* a factory function
86+
*/
87+
propE: {
88+
type: Object,
89+
default: () => {
90+
return { message: 'hello' }
91+
},
92+
},
8393
/**
8494
*@ignore
8595
*

0 commit comments

Comments
 (0)