Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WT-1788 Fix running out of memory on test coverage and cypress tests #967

Merged
merged 11 commits into from
Oct 11, 2023
2 changes: 2 additions & 0 deletions .github/workflows/build-lint-typecheck-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
test:
name: Test
runs-on: ubuntu-latest-4-cores
env:
NODE_OPTIONS: --max-old-space-size=14366
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion packages/checkout/widgets-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@types/node": "^18.14.2",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"cypress": "^12.8.1",
"cypress": "12.8.1",
"eslint": "^8.40.0",
"jest": "^29.4.3",
"local-cypress": "^1.2.6",
Expand Down
51 changes: 24 additions & 27 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2187,9 +2187,9 @@ __metadata:
languageName: node
linkType: hard

"@cypress/request@npm:^2.88.11":
version: 2.88.11
resolution: "@cypress/request@npm:2.88.11"
"@cypress/request@npm:^2.88.10":
version: 2.88.12
resolution: "@cypress/request@npm:2.88.12"
dependencies:
aws-sign2: ~0.7.0
aws4: ^1.8.0
Expand All @@ -2206,10 +2206,10 @@ __metadata:
performance-now: ^2.1.0
qs: ~6.10.3
safe-buffer: ^5.1.2
tough-cookie: ~2.5.0
tough-cookie: ^4.1.3
tunnel-agent: ^0.6.0
uuid: ^8.3.2
checksum: e4b3f62e0c41c4ccca6c942828461d8ea717e752fd918d685e9f74e2ebcfa8b7942427f7ce971e502635c3bf3d40011476db84dc753d3dc360c6d08350da6f93
checksum: 2c6fbf7f3127d41bffca8374beaa8cf95450495a8a077b00309ea9d94dd2a4da450a77fe038e8ad26c97cdd7c39b65c53c850f8338ce9bc2dbe23ce2e2b48329
languageName: node
linkType: hard

Expand Down Expand Up @@ -3163,7 +3163,7 @@ __metadata:
assert: ^2.0.0
buffer: ^6.0.3
crypto-browserify: ^3.12.0
cypress: ^12.8.1
cypress: 12.8.1
eslint: ^8.40.0
ethers: ^5.7.2
https-browserify: ^1.0.0
Expand Down Expand Up @@ -13651,6 +13651,13 @@ __metadata:
languageName: node
linkType: hard

"commander@npm:^5.1.0":
version: 5.1.0
resolution: "commander@npm:5.1.0"
checksum: 0b7fec1712fbcc6230fcb161d8d73b4730fa91a21dc089515489402ad78810547683f058e2a9835929c212fead1d6a6ade70db28bbb03edbc2829a9ab7d69447
languageName: node
linkType: hard

"commander@npm:^6.2.1":
version: 6.2.1
resolution: "commander@npm:6.2.1"
Expand Down Expand Up @@ -14418,11 +14425,11 @@ __metadata:
languageName: node
linkType: hard

"cypress@npm:^12.8.1":
version: 12.17.1
resolution: "cypress@npm:12.17.1"
"cypress@npm:12.8.1":
version: 12.8.1
resolution: "cypress@npm:12.8.1"
dependencies:
"@cypress/request": ^2.88.11
"@cypress/request": ^2.88.10
"@cypress/xvfb": ^1.2.4
"@types/node": ^14.14.31
"@types/sinonjs__fake-timers": 8.1.1
Expand All @@ -14436,7 +14443,7 @@ __metadata:
check-more-types: ^2.24.0
cli-cursor: ^3.1.0
cli-table3: ~0.6.1
commander: ^6.2.1
commander: ^5.1.0
common-tags: ^1.8.0
dayjs: ^1.10.4
debug: ^4.3.4
Expand All @@ -14454,19 +14461,19 @@ __metadata:
listr2: ^3.8.3
lodash: ^4.17.21
log-symbols: ^4.0.0
minimist: ^1.2.8
minimist: ^1.2.6
ospath: ^1.2.2
pretty-bytes: ^5.6.0
proxy-from-env: 1.0.0
request-progress: ^3.0.0
semver: ^7.5.3
semver: ^7.3.2
supports-color: ^8.1.1
tmp: ~0.2.1
untildify: ^4.0.0
yauzl: ^2.10.0
bin:
cypress: bin/cypress
checksum: 1f042e3e5931498bdf826cba09060939349e677fca8654c9695760acbec5a424cb69d3445ace57cf80deb496d770ffe571ef791dff72af24e7f560ee43986ee4
checksum: a229f2b3ff20b1b533f6d4670303596aef596a394db77ea8eafe2fa8f175b79b9d48ba66262513fa806076be5c857e159539f6d8fd9acf4df9936a2fa649bf1e
languageName: node
linkType: hard

Expand Down Expand Up @@ -22260,7 +22267,7 @@ __metadata:
languageName: node
linkType: hard

"minimist@npm:^1.2.0, minimist@npm:^1.2.5, minimist@npm:^1.2.6, minimist@npm:^1.2.8":
"minimist@npm:^1.2.0, minimist@npm:^1.2.5, minimist@npm:^1.2.6":
version: 1.2.8
resolution: "minimist@npm:1.2.8"
checksum: 75a6d645fb122dad29c06a7597bddea977258957ed88d7a6df59b5cd3fe4a527e253e9bbf2e783e4b73657f9098b96a5fe96ab8a113655d4109108577ecf85b0
Expand Down Expand Up @@ -25294,7 +25301,7 @@ __metadata:
languageName: node
linkType: hard

"psl@npm:^1.1.28, psl@npm:^1.1.33":
"psl@npm:^1.1.33":
version: 1.9.0
resolution: "psl@npm:1.9.0"
checksum: 20c4277f640c93d393130673f392618e9a8044c6c7bf61c53917a0fddb4952790f5f362c6c730a9c32b124813e173733f9895add8d26f566ed0ea0654b2e711d
Expand Down Expand Up @@ -28773,7 +28780,7 @@ __metadata:
languageName: node
linkType: hard

"tough-cookie@npm:^4.0.0, tough-cookie@npm:^4.1.2":
"tough-cookie@npm:^4.0.0, tough-cookie@npm:^4.1.2, tough-cookie@npm:^4.1.3":
version: 4.1.3
resolution: "tough-cookie@npm:4.1.3"
dependencies:
Expand All @@ -28785,16 +28792,6 @@ __metadata:
languageName: node
linkType: hard

"tough-cookie@npm:~2.5.0":
version: 2.5.0
resolution: "tough-cookie@npm:2.5.0"
dependencies:
psl: ^1.1.28
punycode: ^2.1.1
checksum: 16a8cd090224dd176eee23837cbe7573ca0fa297d7e468ab5e1c02d49a4e9a97bb05fef11320605eac516f91d54c57838a25864e8680e27b069a5231d8264977
languageName: node
linkType: hard

"tr46@npm:^1.0.1":
version: 1.0.1
resolution: "tr46@npm:1.0.1"
Expand Down