0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

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
This commit is contained in:
Hannah Wolfe 2021-11-16 15:53:08 +00:00
parent 4f9b72ff43
commit b684f3636e
No known key found for this signature in database
GPG key ID: 9F8C7532D0A6BA55

View file

@ -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"
]
}