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

Add jest exception #5858

Merged
merged 2 commits into from Jan 8, 2022
Merged

Add jest exception #5858

merged 2 commits into from Jan 8, 2022

Conversation

hsubox76
Copy link
Contributor

@hsubox76 hsubox76 commented Jan 5, 2022

Hack to fix for Vercel while not re-breaking for Jest.

@changeset-bot
Copy link

changeset-bot bot commented Jan 5, 2022

⚠️ No Changeset found

Latest commit: 3ef41c0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jan 5, 2022

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jan 5, 2022

Size Analysis Report 1

This report is too large (1354164 characters) to be displayed here in a GitHub comment. Please use the below link to see the full report on Google Cloud Storage.

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/LX2xIOfrH5.html

return (
"(typeof document === 'undefined' ? new (require('url').URL)" +
"((typeof document === 'undefined' || process.env.JEST_WORKER_ID " +
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to check whether process and process.env are defined?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that seems important, added.

@schmidt-sebastian schmidt-sebastian merged commit b333c0a into mrschmid/vercel Jan 8, 2022
@schmidt-sebastian schmidt-sebastian deleted the ch-jest branch January 8, 2022 01:12
@firebase firebase locked and limited conversation to collaborators Feb 7, 2022
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.

None yet

3 participants