File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ jobs:
205
205
# one job may wait for deploys in other jobs (only one deploy may be in progress for
206
206
# a given alias at a time), resulting in cascading timeouts.
207
207
DEPLOY_ALIAS : vercel-next-e2e-${{ matrix.version_spec.selector }}-${{ matrix.group }}
208
+ NODE_OPTIONS : " --import /home/runner/work/opennextjs-netlify/opennextjs-netlify/opennextjs-netlify/skip-integrations.mjs"
208
209
run : node run-tests.js -g ${{ matrix.group }}/${{ needs.setup.outputs.total }} -c ${TEST_CONCURRENCY} --type e2e
209
210
working-directory : ${{ env.next-path }}
210
211
Original file line number Diff line number Diff line change
1
+ import { http , HttpResponse , passthrough } from 'msw'
2
+ // eslint-disable-next-line import/extensions
3
+ import { setupServer } from '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 ( )
You can’t perform that action at this time.
0 commit comments