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

bump: [#4684] Update @azure/cosmos and @azure/core-auth dependencies to their latest version #4748

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

sw-joelmut
Copy link
Collaborator

@sw-joelmut sw-joelmut commented Sep 17, 2024

Addresses #4684
#minor

Description

This PR updates the @azure/cosmos and @azure/core-auth packages to their latest version. This update caused some issues with the unit tests that were fixed by updating nock and all the generated records, the way how the Cosmos containers are created, and the improvement of the mockHelper functionality.

Specific Changes

  • Updated @azure from 3.10.0 to 4.1.1
  • Updated @azure from 1.4.0 to 1.7.2
  • Updated nock from 11.9.1 to 13.5.5
  • Updated all nock records for the unit tests.
  • Updated the way the Cosmos containers are created, to use the name of the test instead of an incremental number.
  • Updated how the mockHelper functionality replaces the instanceId property from the records.

Testing

The following image shows the unit tests passing successfully.
image

@sw-joelmut sw-joelmut requested a review from a team as a code owner September 17, 2024 17:39
@sw-joelmut sw-joelmut changed the title [#6771] Fix Attachment issue when it has a MemoryStream instance bump: [#4684] Update @azure/cosmos and @azure/core-auth dependencies to their latest version Sep 17, 2024
@coveralls
Copy link

coveralls commented Sep 17, 2024

Pull Request Test Coverage Report for Build 10908200311

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 84.407%

Totals Coverage Status
Change from base Build 10905035083: 0.0%
Covered Lines: 20433
Relevant Lines: 22910

💛 - Coveralls

@tracyboehrer tracyboehrer merged commit a7b9dfd into main Sep 17, 2024
13 of 15 checks passed
@tracyboehrer tracyboehrer deleted the southworks/update/cosmos-and-core-auth branch September 17, 2024 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants