test(typert): allow catalog analysis under coverage

This commit is contained in:
Tianyi Cui
2026-07-30 18:59:06 +08:00
parent 0c1285e249
commit 49678f38ae

View File

@@ -125,7 +125,7 @@ afterEach(() => {
while (roots.length) rmSync(roots.pop()!, { recursive: true, force: true })
})
describe('gen-cordis-catalog collectEvents', () => {
describe('gen-cordis-catalog collectEvents', { timeout: 30_000 }, () => {
it('extracts a well-formed event with its @mode and JSDoc', () => {
const events = collectEvents(make(
' /**\n * A thing happened.\n * @param id - which thing.\n * @mode emit\n */\n \'fix/happened\'(id: string): void',
@@ -239,7 +239,7 @@ describe('gen-cordis-catalog collectEvents', () => {
})
})
describe('gen-cordis-catalog collectServices', () => {
describe('gen-cordis-catalog collectServices', { timeout: 30_000 }, () => {
const WELL_FORMED = `/** Fixture service. */
export class FixService {
/**