learningequality / learningequality/studio

Enable meaningful coverage reports for frontend code

Open
#1,956 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

DEV: dev-ops TAG: unit tests
Dominant language
Python
Stars
191
Forks
307
Avg merge
5d 6h
Merged PRs (30d)
10

Description

Summary

Code coverage for frontend code is currently disabled.
Before we reinstate it we need to fix an issue caused through a combination of dependencies that means running jest with the coverage flag fails to properly parse Vue component files.
We should also ensure that it is properly collecting files so that coverage reports are accurate.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running Jest with the coverage flag to reproduce the frontend parsing failure described in the issue. Investigate the dependency combination affecting Vue component files and verify that coverage collection includes the intended frontend files and produces accurate reports.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, testing
Issue type
Feature
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.