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: improve expo router testing #23795

Merged
merged 42 commits into from
Aug 15, 2023
Merged

Conversation

EvanBacon
Copy link
Contributor

Why

  • Ensure the various aspects of npx expo export continue to work with the latest Expo Router/Metro depdencies.
  • We had a bundling testing for Expo Router but it wasn't linked to the monorepo so the dependencies weren't in sync.

How

  • Create a new app in apps/ which is synchronized with the monorepo.
    • This app contains multiple expo-router directories and various dynamic settings.
  • Fold the expo-router e2e tests into @expo/cli.
  • Test static rendering, single-page application exporting, and the native url polyfill (api).

Test Plan

  • The CLI E2E tests should pass.

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Aug 1, 2023
EvanBacon and others added 3 commits August 1, 2023 16:40
Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Aug 1, 2023
@expo-bot expo-bot added bot: suggestions ExpoBot has some suggestions and removed bot: passed checks ExpoBot has nothing to complain about labels Aug 2, 2023
Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
@expo-bot expo-bot added bot: suggestions ExpoBot has some suggestions and removed bot: passed checks ExpoBot has nothing to complain about labels Aug 8, 2023
Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Aug 8, 2023
EvanBacon added a commit that referenced this pull request Aug 9, 2023
EvanBacon added a commit that referenced this pull request Aug 10, 2023
# Why

- #23795 is blocked on some difficult issues. This PR pulls in the safe
changes from that PR so they don't get lost.

---------

Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
@EvanBacon EvanBacon merged commit 5b5e713 into main Aug 15, 2023
16 of 17 checks passed
@EvanBacon EvanBacon deleted the @evanbacon/router/e2e-bundling-tests branch August 15, 2023 21:12
EvanBacon added a commit that referenced this pull request Aug 23, 2023
- Ensure the various aspects of `npx expo export` continue to work with
the latest Expo Router/Metro depdencies.
- We had a bundling testing for Expo Router but it wasn't linked to the
monorepo so the dependencies weren't in sync.

<!--
Please describe the motivation for this PR, and link to relevant GitHub
issues, forums posts, or feature requests.
-->

- Create a new app in `apps/` which is synchronized with the monorepo.
- This app contains multiple expo-router directories and various dynamic
settings.
- Fold the `expo-router` e2e tests into `@expo/cli`.
- Test static rendering, single-page application exporting, and the
native url polyfill (api).

<!--
How did you build this feature or fix this bug and why?
-->

- The CLI E2E tests should pass.

---------

Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants