code-server icon indicating copy to clipboard operation
code-server copied to clipboard

80% code coverage

Open jsjoeio opened this issue 3 years ago • 0 comments

Problem

We are unhappy with our current coverage (71% at the time of writing).

Solution

Write tests for code in the following files until we hit 80% coverage:

  • entry.ts
  • main.ts
  • heart.ts
  • http.ts
  • util.ts

We don't know how many new tests but we do know that the following files previously listed are lacking in file coverage or close to hitting 100% based on Codecov stats.

The graph below shows files and lines missing code coverage based on running yarn test:unit in code-server: image

jsjoeio avatar May 02 '22 21:05 jsjoeio