'Is there a way to change cloud functions directory?

I'm currently trying to create a testing environment for the cloud functions independently. I wanted to run the emulator within the functions folder, but there does not seem to be a way to use the root directory as functions directory.

Is there a proper way to change it?

If not, I would love to hear some suggestions on how to properly test the functions, when only the contents of the functions folder is available.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source