Unverified Commit c6f3cf4a authored by vercel-fleet-prod[bot]'s avatar vercel-fleet-prod[bot] Committed by GitHub

test: assert failed stack gate does not skip full CI

Co-authored-by: 's avatarTobias Koppers <1365881+sokra@users.noreply.github.com>
parent 01222d4a
...@@ -264,6 +264,7 @@ test('three terminal failures fail the gate without running expensive jobs', asy ...@@ -264,6 +264,7 @@ test('three terminal failures fail the gate without running expensive jobs', asy
}, },
}) })
expect(core.failures).toHaveLength(1) expect(core.failures).toHaveLength(1)
expect(core.outputs.get('skip')).toBe('false')
expect(core.failures[0]).toMatch(/All three predecessor PRs/) expect(core.failures[0]).toMatch(/All three predecessor PRs/)
expect(core.summaries.join('\n')).toMatch(/Result: \*\*failed\*\*/) expect(core.summaries.join('\n')).toMatch(/Result: \*\*failed\*\*/)
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment