Skip to content

Commit c628e2f

Browse files
committed
chore: new patch version for vercel/next.js e2e-utils
1 parent 408925c commit c628e2f

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.github/workflows/test-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
- name: patch Next.js
147147
run: |
148148
cp ../${{ env.runtime-path }}/tests/netlify-deploy.ts test/lib/next-modes/
149-
git apply ../${{ env.runtime-path }}/tests/e2e-utils.patch || git apply ../${{ env.runtime-path }}/tests/e2e-utils-v2.patch
149+
git apply ../${{ env.runtime-path }}/tests/e2e-utils.patch || git apply ../${{ env.runtime-path }}/tests/e2e-utils-v2.patch || git apply ../${{ env.runtime-path }}/tests/e2e-utils-v3.patch
150150
working-directory: ${{ env.next-path }}
151151

152152
- name: install Next.js

run-local-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export NEXT_TEST_MODE=deploy
1515
export RUNTIME_DIR=$(pwd)
1616
cp tests/netlify-deploy.ts ../next.js/test/lib/next-modes/netlify-deploy.ts
1717
cd ../next.js/
18-
git apply $RUNTIME_DIR/tests/e2e-utils.patch || git apply $RUNTIME_DIR/tests/e2e-utils-v2.patch
18+
git apply $RUNTIME_DIR/tests/e2e-utils.patch || git apply $RUNTIME_DIR/tests/e2e-utils-v2.patch || git apply $RUNTIME_DIR/tests/e2e-utils-v3.patch
1919
node run-tests.js --type e2e --debug --test-pattern $1
2020
git checkout -- test/lib/e2e-utils.ts
2121

tests/e2e-utils-v3.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/test/lib/e2e-utils/index.ts b/test/lib/e2e-utils/index.ts
2+
index 182d2b7cc1..18abab2eb6 100644
3+
--- a/test/lib/e2e-utils/index.ts
4+
+++ b/test/lib/e2e-utils/index.ts
5+
@@ -5,7 +5,7 @@ import { PHASE_DEVELOPMENT_SERVER } from 'next/constants'
6+
import { NextInstance, NextInstanceOpts } from '../next-modes/base'
7+
import { NextDevInstance } from '../next-modes/next-dev'
8+
import { NextStartInstance } from '../next-modes/next-start'
9+
-import { NextDeployInstance } from '../next-modes/next-deploy'
10+
+import { NextDeployInstance } from '../next-modes/netlify-deploy'
11+
import { shouldUseTurbopack } from '../next-test-utils'
12+
13+
export type { NextInstance }

0 commit comments

Comments
 (0)