Hi, I’m Andrés Canavesi from Montevideo, Uruguay. I’m a Software Engineer, with over 15 years of experience in software development, mainly Salesforce, Node.js and Java. I share my experience through this blog since 2017
See the most recent posts I wrote
-
Mocking AWS SSM with Jest and TypeScript
Reading Time: < 1 minutes Let’s say you have this code that uses SSM. To mock AWS SSM with Jest and TypeScript, you can use the AWS SDK’s mock implementation. Here’s how you can set it up
-
How to Mock Axios with Jest
Reading Time: < 1 minutes To mock Axios with Jest, you can use the Jest mock function to replace the actual Axios library with a mock implementation.
-
How to detect if a string is a number with regex (with JavaScript example)
Reading Time: < 1 minutes This regular expression will match any string that represents a number, including integers and decimal numbers, with or without a leading minus sign.