From b684f3636e6ac6148784a1548d1b6577d89961e8 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Tue, 16 Nov 2021 15:53:08 +0000 Subject: [PATCH] Added more files to c8 excludes There are some files we don't expect _unit_ tests for - they are e2e tested and tracking that is a different problem! - express routes and wiring files - this does not count middleware. Middleware functions should be fully unit tested - previous API version files - canary api endpoint configuration files - this does not count api utils, valiation and serialisation which can be unit tested --- .c8rc.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.c8rc.json b/.c8rc.json index 3ef2eac7a6..d30369ac42 100644 --- a/.c8rc.json +++ b/.c8rc.json @@ -7,6 +7,18 @@ "core/frontend/src/**", "core/frontend/public/**", "core/server/data/migrations/**", - "!core/server/data/migrations/utils.js" + "!core/server/data/migrations/utils.js", + "core/frontend/web/**", + "!core/frontend/web/middleware/**", + "core/server/web/api/**", + "!core/server/web/api/middleware/**", + "core/server/web/parent/**", + "!core/server/web/parent/middleware/**", + "core/server/web/shared/**", + "!core/server/web/shared/middleware/**", + "core/server/api/v2/**", + "core/server/api/v3/**", + "core/server/api/canary/**", + "!core/server/api/canary/utils" ] }