Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2fdaed1

Browse files
committed
test: check if skipping extensions lookups help
1 parent 08ac042 commit 2fdaed1

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

‎.github/workflows/test-e2e.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ jobs:
205205
# one job may wait for deploys in other jobs (only one deploy may be in progress for
206206
# a given alias at a time), resulting in cascading timeouts.
207207
DEPLOY_ALIAS: vercel-next-e2e-${{ matrix.version_spec.selector }}-${{ matrix.group }}
208+
NODE_OPTIONS: "--require /home/runner/work/opennextjs-netlify/opennextjs-netlify/opennextjs-netlify/skip-integrations.cjs"
208209
run: node run-tests.js -g ${{ matrix.group }}/${{ needs.setup.outputs.total }} -c ${TEST_CONCURRENCY} --type e2e
209210
working-directory: ${{ env.next-path }}
210211

‎skip-integrations.cjs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
const { http, HttpResponse, passthrough } = require('msw')
2+
// eslint-disable-next-line import/extensions
3+
const { setupServer } = require('msw/node')
4+
5+
const server = setupServer(
6+
http.get(
7+
'https://api.netlifysdk.com/team/:accountId/integrations/installations/meta/:siteId',
8+
() => {
9+
return HttpResponse.json([])
10+
},
11+
),
12+
http.get('https://api.netlifysdk.com/site/:siteId/integrations/safe', () => {
13+
return HttpResponse.json([])
14+
}),
15+
http.all(/.*/, () => passthrough()),
16+
)
17+
server.listen()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /