Skip to content

Commit

Permalink
skip incompatible deploy test (#66886)
Browse files Browse the repository at this point in the history
This is only available at runtime, so wouldn't be in build logs.
  • Loading branch information
ztanner authored Jun 15, 2024
1 parent 70df7cf commit c189891
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions test/e2e/rsc-layers-transform/rsc-layers-transform.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { nextTestSetup } from 'e2e-utils'

describe('rsc layers transform', () => {
const { next } = nextTestSetup({
const { next, isNextDeploy } = nextTestSetup({
files: __dirname,
})

Expand All @@ -14,9 +14,11 @@ describe('rsc layers transform', () => {
})
})

it('should call instrumentation hook without errors', async () => {
const output = next.cliOutput
expect(output).toContain('instrumentation:register')
expect(output).toContain('instrumentation:text:text-value')
})
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')
})
}
})

0 comments on commit c189891

Please sign in to comment.