This is a PoC of an issue with Vue Test Utils:
- naming a component prop 'child' causes an error when it attempt to mount:
TypeError: Cannot read property 'elm' of undefined
This project was generated from Vue CLI
- basic default option for Vue
- Vue Test Utils added via
vue add unit-jest HelloWorldcomponent prop 'msg' changed to 'child', test case altered to match
npm install
npm run serve
npm run build
npm run lint