mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 17:32:15 +03:00
b684f3636e
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
25 lines
664 B
JSON
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"
|
|
]
|
|
}
|