mirror of
https://github.com/fsolla/teqo.git
synced 2026-12-03 05:43:04 +00:00
test(C234): dá 30s ao teste de bootstrap da CLI de índice (spawn do Payload no CI)
This commit is contained in:
parent
4241c14cf8
commit
0c16fcd5df
1 changed files with 13 additions and 17 deletions
|
|
@ -123,9 +123,7 @@ describe('faces:index write guards (C234)', () => {
|
||||||
expect(output(result)).toContain('S3_BUCKET')
|
expect(output(result)).toContain('S3_BUCKET')
|
||||||
})
|
})
|
||||||
|
|
||||||
it(
|
it('reaches the payload bootstrap with the complete target declared', () => {
|
||||||
'reaches the payload bootstrap with the complete target declared',
|
|
||||||
() => {
|
|
||||||
const result = run(indexScript, ['--apply'], {
|
const result = run(indexScript, ['--apply'], {
|
||||||
FACE_INDEX_CONFIRM: '1',
|
FACE_INDEX_CONFIRM: '1',
|
||||||
TEQO_ENV: 'production',
|
TEQO_ENV: 'production',
|
||||||
|
|
@ -138,7 +136,5 @@ describe('faces:index write guards (C234)', () => {
|
||||||
expect(result.status).toBe(1)
|
expect(result.status).toBe(1)
|
||||||
expect(output(result)).not.toContain('FACE_INDEX_CONFIRM=1')
|
expect(output(result)).not.toContain('FACE_INDEX_CONFIRM=1')
|
||||||
expect(output(result)).not.toContain('TEQO_ENV=')
|
expect(output(result)).not.toContain('TEQO_ENV=')
|
||||||
},
|
}, 30_000)
|
||||||
30_000,
|
|
||||||
)
|
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue