eddyerburgh / eddyerburgh/vue-test-utils-jest-example

Cannot recognize branches in vue 'template' section when coverage

Open
#4 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
90
Forks
40
PR merge metrics
No merged PRs in 30d

Description

I also tried the current official unit test usage with karma/mocha/phantomjs in vuejs-tempaltes/webpack, it didn't work neither: https://github.com/vuejs/vue-loader/issues/195#issuecomment-330736056).

Thanks for your awesome work btw!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the coverage failure in this vue-test-utils-jest-example repository and compare it with the vuejs-templates/webpack setup mentioned in the issue. Read the linked vue-loader discussion and inspect the Karma, Mocha, and PhantomJS usage described there. Done means branch coverage for Vue template sections is recognized correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.