TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Show HN: Testing Private Functions in JavaScript
5 points
by
arvindrajnaidu
about 5 years ago
1 comment
yjhoney
about 5 years ago
Collapse
very interesting idea. I've come across projects where functions are exported for the only reason of testing it. This library makes it so that your helper functions get to stay privately scoped inside the file.
评论 #22825557 未加载