DEV Community

Discussion on: Testing Non-Exported Functions in JavaScript

Collapse
leadersheir_ profile image
Warisul Imam

Can you test the functions in a React functional component with this?

Collapse
samanthaming profile image
Samantha Ming Author

Unfortunately, Iโ€™m not super familiar with React, so Iโ€™m not sure ๐Ÿ˜“ ...but if you find out, please do share! Iโ€™m sure others would love to know as well ๐Ÿ˜Š

Collapse
leadersheir_ profile image
Warisul Imam • Edited on

Alright, I'll have a go at it and let you know of the outcome.