DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Discussion on: Testing Non-Exported Functions in JavaScript

Collapse
frondor profile image
Federico VΓ‘zquez • Edited on

Friendly advice, try not to test implementations, rather do it with integrations. It's not worth when you do refractors or even renames and your tests start failing, although the logic and result of your program is still the same.

Collapse
samanthaming profile image
Samantha Ming Author

Fair pointβ€” thanks for sharing! πŸ’ͺ