@bernierllc/content-type-blog-post
Version:
Blog post content type with rich TipTap editor, SEO metadata, database storage, and web publishing
22 lines (21 loc) • 478 B
JavaScript
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
collectCoverageFrom: [
'src/**/*.{ts,tsx}',
'!src/**/*.d.ts',
'!src/index.ts',
'!src/errors.ts' // Exclude unused error classes
],
coverageThreshold: {
global: {
branches: 65, // Lower due to untested error paths - can be improved with error case tests
functions: 90,
lines: 90,
statements: 90
}
},
testMatch: [
'**/__tests__/**/*.test.ts'
]
};