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

chore(deps-dev): bump jest to v27 #2869

Closed
wants to merge 13 commits into from
Closed

Conversation

trivikr
Copy link
Member

@trivikr trivikr commented Oct 5, 2021

Issue

Fixes: #2868

Description

Bumps jest to v27

Testing

CI


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-commenter
Copy link

codecov-commenter commented Oct 5, 2021

Codecov Report

Merging #2869 (d5aaafd) into main (952f14d) will decrease coverage by 0.12%.
The diff coverage is n/a.

❗ Current head d5aaafd differs from pull request most recent head 64997cd. Consider uploading reports for the commit 64997cd to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2869      +/-   ##
==========================================
- Coverage   60.42%   60.29%   -0.13%     
==========================================
  Files         554      546       -8     
  Lines       28886    28760     -126     
  Branches     7072     7047      -25     
==========================================
- Hits        17453    17341     -112     
+ Misses      11433    11419      -14     
Impacted Files Coverage Δ
...tial-provider-cognito-identity/src/localStorage.ts 77.77% <0.00%> (-22.23%) ⬇️
...-provider-cognito-identity/src/IndexedDbStorage.ts 17.02% <0.00%> (-2.13%) ⬇️
packages/fetch-http-handler/src/index.ts
packages/hash-blob-browser/src/index.ts
packages/util-user-agent-browser/src/index.ts
...ckages/util-user-agent-browser/src/index.native.ts
...ackages/fetch-http-handler/src/stream-collector.ts
packages/body-checksum-browser/src/index.ts
packages/chunked-blob-reader/src/index.ts
packages/chunked-blob-reader-native/src/index.ts
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 952f14d...64997cd. Read the comment docs.

@trivikr
Copy link
Member Author

trivikr commented Oct 5, 2021

Using async-await with done does not work since v27 jestjs/jest#11404

@trivikr
Copy link
Member Author

trivikr commented Oct 5, 2021

The jest tests are failing on Node.js 10.x with globalThis not defined error.
Known issue: jestjs/jest#10957

@trivikr trivikr closed this Oct 5, 2021
@trivikr trivikr deleted the bump-jest-27 branch October 5, 2021 21:56
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 20, 2021
@trivikr trivikr restored the bump-jest-27 branch January 3, 2022 14:43
@trivikr trivikr deleted the bump-jest-27 branch January 3, 2022 14:46
@trivikr trivikr restored the bump-jest-27 branch January 3, 2022 14:53
@trivikr trivikr deleted the bump-jest-27 branch January 4, 2022 02:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bump to Jest 27 for unit testing
2 participants