Hey guys,I was wondering what is the best way to test functions not exported,The solution that I've found was exporting the function with an underline, to represent those functions as "privates".export function _privateFunctionToBeTested = (x: any) => console.log(x);What do you guys do?
Submitted July 16, 2019 at 10:46PM by lucasvmiguel
No comments:
Post a Comment