Generate basic unit tests for a function.
Customize for your project
Write unit tests for {{testTarget}} function in {{filePath}}:
1. Happy path cases
2. Boundary value tests
3. Error/exception cases
4. Null/undefined input handling
5. Include clear describe/it descriptions
Use Jest syntax, aim for 90%+ coverage.Fill in all fields to copy the completed prompt