(opts = {})
| 27 | i18n = common.createMockI18n('en', mockData.messages) |
| 28 | |
| 29 | const factory = (opts = {}) => { |
| 30 | router = opts.router || router |
| 31 | i18n = opts.i18n || i18n |
| 32 | |
| 33 | return common.createFactory(Status, { |
| 34 | router, |
| 35 | i18n, |
| 36 | props: opts.props || {}, |
| 37 | data: opts.data || {} |
| 38 | }) |
| 39 | } |
| 40 | |
| 41 | describe('Components > Widgets > Status.vue', () => { |
| 42 | describe('Methods', () => { |