mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-12 22:13:05 +00:00
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:
parent
3d269725f8
commit
cca5f97482
2 changed files with 2 additions and 2 deletions
|
|
@ -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: '' })
|
||||
|
||||
|
|
|
|||
|
|
@ -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: '' })
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue