Frontend Test Coverage Should Be Enforced at 100%
LTTrack BJapanese
In a product I am developing, CI enforces 100% across all test coverage metrics, including branch coverage. Some team members initially questioned whether this was excessive, but after introducing and operating the policy, any code that cannot be tested must use v8 ignore together with an explanation, making every coverage decision visible in the code.
Places marked with v8 ignore also serve as candidates for design improvements, such as extracting helper functions or removing unnecessary branches through types. This session explains how an approach that looks excessive at first has changed test quality and code design.

辻佳佑
A software engineer focused on web application development, primarily with Vue.js and Nuxt.
