Skip to content

Commit

Permalink
Fix rsc basic e2e test on deploy (#39905)
Browse files Browse the repository at this point in the history
This test is currently not expected to run against deploy mode similar to the other app tests so this skips it for now. 

Fixes: https://github.com/vercel/next.js/runs/7988021472?check_suite_focus=true
  • Loading branch information
ijjk committed Aug 24, 2022
1 parent 638e6d1 commit 35f86d5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/e2e/app-dir/rsc-basic.test.ts
Expand Up @@ -29,6 +29,11 @@ describe('app dir - react server components', () => {
let next: NextInstance
let distDir: string

if ((global as any).isNextDeploy) {
it('should skip for deploy mode for now', () => {})
return
}

beforeAll(async () => {
const appDir = path.join(__dirname, './rsc-basic')
next = await createNext({
Expand Down

0 comments on commit 35f86d5

Please sign in to comment.