From dd32a3490d50ed9ede2a3716723c254470385c3b Mon Sep 17 00:00:00 2001 From: Nick Lanam <314133+NickLanam@users.noreply.github.com> Date: Tue, 11 Jul 2023 11:14:58 -0700 Subject: [PATCH] Skip coverage of generated UI code (#1604) Summary: `src/ui/src/types/generated` is, well, generated code. Coverage reporting should not be counting the 6,000+ lines of code in there. Relevant Issues: N/A Type of change: /kind cleanup Test Plan: `yarn coverage`. The generated types should no longer count against the total. Signed-off-by: Nick Lanam --- src/ui/jest.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/jest.config.js b/src/ui/jest.config.js index 11a99ea0bce..61710b221d5 100644 --- a/src/ui/jest.config.js +++ b/src/ui/jest.config.js @@ -71,5 +71,6 @@ module.exports = { 'src/*.tsx', 'src/*.js', 'src/*.jsx', + '!src/types/generated/**/*', ], };