Say I have a function imported from a library
import doSomething from 'someLibrary';
And doSomething has a console.log() call inside of it. So, when I call do something
doSomething();
Some message is logged to the console. How do I call the function doSomething without it logging anything to the console?
console.logwith your own custom function that swallows input, but that will nullify any logging from happening including your own.someLibraryis open-source on GitHub or similar, reach out to the developer and let them know that is happening. SincesomeLibraryis likely to be innode_modules(or similar), it is considered "Vendor Code" and shouldn't be modified directly. Alternatively, make your own "fork" and patch the issue yourself.admin.auth().updateUser. If the user email is updated, it logs a link for the user to reset their email to the previous one. I only see this log, however, when called in my tests using the emulator, and not when called on the actual site.