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(hub-common): remove use of UserSession in tests #1838

Merged
merged 2 commits into from
Mar 24, 2025

Conversation

tomwayson
Copy link
Member

@tomwayson tomwayson commented Mar 24, 2025

  1. Description:

Removes all use of UserSession (except one test that mocks the static UserSession.completeOAuth2) from tests.

This will make the transition to REST JS 4 easier.

  1. Instructions for testing:

If build passes, merge.

  1. addresses Issues: # (if appropriate)

https://devtopia.esri.com/dc/hub/issues/12842

  1. Updated meaningful TSDoc to methods including Parameters and Returns, see Documentation Guide

n/a

  1. used semantic commit messages

  2. PR title follows semantic commit format (CRITICAL if the title is not in a semantic format, the release automation will not run!)

  3. updated peerDependencies as needed. CRITICAL our automated release system can not be counted on to update peerDependencies so we must do it manually in our PRs when needed. See the updating peerDependencies section of the release instructions for more details.

n/a

Sorry, something went wrong.

…ible

affects: @esri/hub-common, @esri/hub-events, @esri/hub-sites, @esri/hub-teams
affects: @esri/hub-common, @esri/hub-downloads, @esri/hub-events, @esri/hub-sites, @esri/hub-teams
Copy link
Member

@dbouwman dbouwman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Giv'er!

@tomwayson tomwayson merged commit 26c6007 into master Mar 24, 2025
5 checks passed
@tomwayson tomwayson deleted the c/prep-for-rest-js-4 branch March 24, 2025 18:49
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.

None yet

2 participants