mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-26 13: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
51bd4700bb
commit
dd8f700b30
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}`
|
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', () => {
|
it('prints the help even without a database', () => {
|
||||||
const result = run(['--help'], { DATABASE_URL: '' })
|
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}`
|
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', () => {
|
it('prints the help even without a database', () => {
|
||||||
const result = run(['--help'], { DATABASE_URL: '' })
|
const result = run(['--help'], { DATABASE_URL: '' })
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue