skip incompatible deploy test (#66886)

This is only available at runtime, so wouldn't be in build logs.
This commit is contained in:
Zack Tanner 2024-06-15 06:03:26 -07:00 committed by GitHub
parent 70df7cfb01
commit c1898916ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
import { nextTestSetup } from 'e2e-utils'
describe('rsc layers transform', () => {
const { next } = nextTestSetup({
const { next, isNextDeploy } = nextTestSetup({
files: __dirname,
})
@ -14,9 +14,11 @@ describe('rsc layers transform', () => {
})
})
if (!isNextDeploy) {
it('should call instrumentation hook without errors', async () => {
const output = next.cliOutput
expect(output).toContain('instrumentation:register')
expect(output).toContain('instrumentation:text:text-value')
})
}
})