-
Notifications
You must be signed in to change notification settings - Fork 929
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
Emulator fixes for #1281, #1279, and #1277 #1287
Conversation
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.
Small comments, mostly looks great and love the addtl test coverage.
externalRoute, | ||
`${externalRoute}/*`, | ||
]; | ||
const httpsFunctionRoutes = [httpsFunctionRoute, `${httpsFunctionRoute}/*`]; |
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.
Just want to make sure that callable functions get this treatment, not just "normal" HTTPS functions. Can you confirm (or maybe even add a test)?
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.
Good point good point, should add a test
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.
Confirmed callable still work, will look at adding a test, but prolly not for this PR
|
Bleh, let's try again then |
In this I've done some work to clean up some of our tests and I've refactored
FunctionsEmulator
to use more static methods so it's easier to stub out calls for testing.We also see an introduction of tests for the core emulator "hub" which routes the requests.