Ghost/.c8rc.json
Hannah Wolfe b684f3636e
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
2021-11-16 15:53:08 +00:00

25 lines
664 B
JSON

{
"all": true,
"include": [
"core/{*.js,frontend,server,shared}"
],
"exclude": [
"core/frontend/src/**",
"core/frontend/public/**",
"core/server/data/migrations/**",
"!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"
]
}