DEV Community

Discussion on: Testing private methods in Typescript

Collapse
 
danywalls profile image
Dany Paredes

True! clean approach :D

Collapse
 
layzee profile image
Lars Gyrup Brink Nielsen

Dany, you're missing the function keyword after export in the new code snippet for the exported function. I appreciate the credits and edit.