Unverified Commit c1898916 authored by Zack Tanner's avatar Zack Tanner Committed by GitHub

skip incompatible deploy test (#66886)

This is only available at runtime, so wouldn't be in build logs.
parent 70df7cfb
import { nextTestSetup } from 'e2e-utils' import { nextTestSetup } from 'e2e-utils'
describe('rsc layers transform', () => { describe('rsc layers transform', () => {
const { next } = nextTestSetup({ const { next, isNextDeploy } = nextTestSetup({
files: __dirname, files: __dirname,
}) })
...@@ -14,9 +14,11 @@ describe('rsc layers transform', () => { ...@@ -14,9 +14,11 @@ describe('rsc layers transform', () => {
}) })
}) })
it('should call instrumentation hook without errors', async () => { if (!isNextDeploy) {
const output = next.cliOutput it('should call instrumentation hook without errors', async () => {
expect(output).toContain('instrumentation:register') const output = next.cliOutput
expect(output).toContain('instrumentation:text:text-value') expect(output).toContain('instrumentation:register')
}) expect(output).toContain('instrumentation:text:text-value')
})
}
}) })
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