Support Forums

Unit Testing Netlify Functions

Hi Netlify Community,

I’m posting to ask if anyone has any tips and trick or links to resources to help me understand some good patterns for unit testing Netlify Functions.

I’m currently trying to use a library called lambda-tester with ts-jest, but its proving to be quite challenging!

hi there, there is some information in this support guide - if you have specific questions we are happy to advise :slight_smile:

1 Like

Thank you. Looks like a really comprehensive guide. Will read through :slight_smile:

1 Like

Hi @chiubaca I’ve just written a blog post about this very topic. It’s quite a while since you posted this but hopefully others might find it useful!

1 Like

Thanks for sharing, @knoxjeffrey !! :netliconfetti: