File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
packages/e2e-tests/test-applications Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 11import type { PlaywrightTestConfig } from '@playwright/test' ;
22import { devices } from '@playwright/test' ;
33
4+ // Fix urls not resolving to localhost on Node v17+
5+ // See: https://github.com/axios/axios/issues/3821#issuecomment-1413727575
6+ import { setDefaultResultOrder } from 'dns' ;
7+ setDefaultResultOrder ( 'ipv4first' ) ;
8+
49const testEnv = process . env . TEST_ENV ;
510
611if ( ! testEnv ) {
Original file line number Diff line number Diff line change 11import type { PlaywrightTestConfig } from '@playwright/test' ;
22import { devices } from '@playwright/test' ;
33
4+ // Fix urls not resolving to localhost on Node v17+
5+ // See: https://github.com/axios/axios/issues/3821#issuecomment-1413727575
6+ import { setDefaultResultOrder } from 'dns' ;
7+ setDefaultResultOrder ( 'ipv4first' ) ;
8+
49const testEnv = process . env . TEST_ENV ;
510
611if ( ! testEnv ) {
You can’t perform that action at this time.
0 commit comments