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

Support Expo SDK 50 #161

Merged
merged 25 commits into from
Feb 7, 2024
Merged

Support Expo SDK 50 #161

merged 25 commits into from
Feb 7, 2024

Conversation

yousif-bugsnag
Copy link
Contributor

Goal

Adds support for Expo SDK 50

Changeset

  • Bumped dependencies for Expo 50
  • Updated the CI pipeline to run on Java 17, Node 18 and Xcode 15
  • Updated lerna to v8.0.2
  • Updated jest to v29.3.1 and enabled the jest-expo preset for unit tests.
  • Updated the test fixture:
    • The test fixture is now part of the monorepo (as a private package)
    • The test fixture build now leverages yarn workspaces to install the bugsnag dependencies (required for building with EAS in a monorepo)
  • iOS tests now run against iOS 14 and 16 (13.4 is now the minimum in Expo 50/React Native 0.73)

Testing

Relied on CI and unit tests

@@ -117,7 +117,7 @@ Scenario: Network breadcrumbs are captured by default
And the exception "message" equals "defaultNetworkBreadcrumbsBehaviour"
And the event has a "request" breadcrumb named "XMLHttpRequest succeeded"
And the event "breadcrumbs.1.metaData.status" equals 200
And the event "breadcrumbs.1.metaData.request" equals "GET http://postman-echo.com/get"
And the event "breadcrumbs.1.metaData.request" equals "GET https://postman-echo.com/get"
Copy link
Member

Choose a reason for hiding this comment

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

👌🏻

/**
* @jest-environment jsdom
*/

Copy link
Member

Choose a reason for hiding this comment

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

is this the right environment for expo?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no it's not! The issue was the network breadcrumbs plugin, I've updated the test to mock that out instead

@yousif-bugsnag yousif-bugsnag merged commit 5646f22 into v50/next Feb 7, 2024
3 checks passed
@yousif-bugsnag yousif-bugsnag deleted the PLAT-11488/support-v50 branch February 7, 2024 16:00
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.

2 participants