-
Notifications
You must be signed in to change notification settings - Fork 301
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: fix RN e2e tests #4632
chore: fix RN e2e tests #4632
Conversation
|
const config = parseAWSExports(awsconfig); | ||
if (!config.Auth) { | ||
throw new Error('Auth config not found'); | ||
} | ||
// mock server endpoint for Detox e2es | ||
config.Auth.Cognito.userPoolEndpoint = 'http://127.0.0.1:9091/'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking we make a util for this and add an .env variable for USER_POOL_END_POINT so we can use these examples for manual testing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would love to pick your brain on this since I can't get other env like EXAMPLE APP variables to work when testing locally.
Description of changes
Issue #, if available
Description of how you validated changes
Checklist
yarn test
passes and tests are updated/addedsideEffects
field updatedBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.