typescript

image post

Mock AWS SDK with Jest in TypeScript

An example mocking some SQS methods
Andrés Canavesi - Jul 31, 2021
It's a fact: you will spend some time writing mocks and slow down the development process but in the other hand unit test will run faster with less configuration.

image post

Implement a wait sync with a promise in TypeScript

Delay a sync execution code
Andrés Canavesi - Jul 30, 2021

image post

Mock Axios with Jest

Mock request made by Axios using Jest in Node.js. Unit tests more unit
Andrés Canavesi - Jan 31, 2021
Mock Axios with Jest using successful and error response