diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 4a57ae2..2300ba8 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -20,6 +20,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20.x' + env: + NODE_OPTIONS: "--dns-result-order=ipv4first" - run: npm ci - run: npm run lint - run: npm test @@ -45,6 +47,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20.x' + env: + NODE_OPTIONS: "--dns-result-order=ipv4first" - run: npm ci - run: npm run semantic-release env: diff --git a/test/core/index.test.js b/test/core/index.test.js index 145500a..3572f9f 100644 --- a/test/core/index.test.js +++ b/test/core/index.test.js @@ -236,9 +236,6 @@ describe('Core Tests', () => { await defaultCtx.request('https://example.com:81/', { signal }); assert.fail(); } catch (err) { - console.log(err); - console.log(err.stack); - console.log(typeof err); assert(err instanceof RequestAbortedError); } const ts1 = Date.now();