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

test: write single-line deploy trace snapshots on one line

Co-authored-by: 's avatarTobias Koppers <1365881+sokra@users.noreply.github.com>
Co-authored-by: 's avatarLuke Sandberg <210140+lukesandberg@users.noreply.github.com>
Co-authored-by: 's avatarNiklas Mischkulnig <4586894+mischnic@users.noreply.github.com>
parent 49c5fe6f
......@@ -925,9 +925,9 @@ describe.each(VARIANTS)(
'deploy (no adapter), cache components, proxy',
].includes(env)
) {
expect(tree).toMatchInlineSnapshot(`
"[trace A] middleware GET (Middleware.execute) {http.target=/redirect}"
`)
expect(tree).toMatchInlineSnapshot(
`"[trace A] middleware GET (Middleware.execute) {http.target=/redirect}"`
)
} else {
// Not observed yet (filled from CI).
expect(tree).toMatchInlineSnapshot()
......@@ -978,9 +978,9 @@ describe.each(VARIANTS)(
'deploy (no adapter), cache components, proxy',
].includes(env)
) {
expect(tree).toMatchInlineSnapshot(`
"[trace A] middleware GET (Middleware.execute) {http.target=/direct}"
`)
expect(tree).toMatchInlineSnapshot(
`"[trace A] middleware GET (Middleware.execute) {http.target=/direct}"`
)
} else {
// Not observed yet (filled from CI).
expect(tree).toMatchInlineSnapshot()
......@@ -1032,9 +1032,9 @@ describe.each(VARIANTS)(
'deploy (no adapter), cache components, proxy',
].includes(env)
) {
expect(tree).toMatchInlineSnapshot(`
"[trace A] middleware GET (Middleware.execute) {http.target=/rewrite-external}"
`)
expect(tree).toMatchInlineSnapshot(
`"[trace A] middleware GET (Middleware.execute) {http.target=/rewrite-external}"`
)
} else {
// Not observed yet (filled from CI).
expect(tree).toMatchInlineSnapshot()
......
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