diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8ca022d88..8c21d0f45 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -219,6 +219,8 @@ jobs: run: npm run build:sdk - name: Unit coverage shell: bash + env: + NODE_OPTIONS: --max-old-space-size=6144 run: npm run test:coverage:unit - name: Upload coverage artifact if: always() diff --git a/tests/helpers.cjs b/tests/helpers.cjs index e07e8c662..fa93a9dc7 100644 --- a/tests/helpers.cjs +++ b/tests/helpers.cjs @@ -250,7 +250,7 @@ function runNpm(args, options = {}) { const defaults = { encoding: 'utf-8', shell: isWindows, - timeout: 55000, + timeout: 180000, }; return execFileSync(npmCmd, args, { ...defaults, ...options }).trim(); }