Closed lmiller1990 closed 4 years ago
Sometimes a component gets complex, eg:
const wrapper = mount(Comp, { // ... many options ....... })
Feels bad to copy paste it many times. You can use a factory function, which is discussed here. I think something like this would be useful, and we can go in depth with some interesting examples.
resolved in #138
Sometimes a component gets complex, eg:
Feels bad to copy paste it many times. You can use a factory function, which is discussed here. I think something like this would be useful, and we can go in depth with some interesting examples.