-
How to unit test Flows in Salesforce with Apex
Reading Time: 3 minutes By performing unit tests you can ensure that your rules are error-free, functioning properly, and enforcing the intended business logic. This ultimately leads to a more robust and reliable code. Read more
-
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 Read more
-
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. Read more
-
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. Read more
-
How to remove more than two spaces and new lines with regex
Reading Time: < 1 minutes To remove more than two spaces and new lines using regex, you can use the following pattern: Read more
-
How to remove extra spaces and new lines using regex in Notepad++
Reading Time: < 1 minutes Removing extra spaces and new lines can be a tedious task, especially when dealing with large chunks of text. Thankfully, regular expressions (regex) can make this process much easier and more efficient. In this post, we’ll show you how to remove more than two spaces and new lines with regex… Read more
Hello, Javaniceday!
Reading Time: < 1 minutes