test(C230): eleva timeout dos specs de guarda dos CLIs do Instagram

Os specs de guarda spawnam o CLI como subprocesso (~2s isolado) e o
timeout padrão de 5s do vitest estoura sob a carga da suíte completa,
derrubando o gate de forma intermitente. 30s dá margem sem mudar o
comportamento testado.
This commit is contained in:
Francisco Solla 2026-10-01 01:58:13 -03:00
parent 51bd4700bb
commit dd8f700b30
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ const run = (args: string[], env: Record<string, string> = {}) =>
const output = (result: ReturnType<typeof run>) => `${result.stdout}${result.stderr}`
describe('content:instagram:import write guards (C230-followup)', () => {
describe('content:instagram:import write guards (C230-followup)', { timeout: 30_000 }, () => {
it('prints the help even without a database', () => {
const result = run(['--help'], { DATABASE_URL: '' })

View file

@ -31,7 +31,7 @@ const run = (args: string[], env: Record<string, string> = {}) =>
const output = (result: ReturnType<typeof run>) => `${result.stdout}${result.stderr}`
describe('content:instagram:withdraw write guards (C230-followup)', () => {
describe('content:instagram:withdraw write guards (C230-followup)', { timeout: 30_000 }, () => {
it('prints the help even without a database', () => {
const result = run(['--help'], { DATABASE_URL: '' })