Tag: TypeScript

  • NodeJS Application Insights, logging and telemetry best practices

    NodeJS Application Insights, logging and telemetry best practices

    Distributed tracing and Real Time Application Monitoring is an essential component of any modern software architecture. This is done through telemetry, meaning produce some kind of tracing data about the software (included but not limited to logging) and transmit it to some external system to be stored and processed. Telemetry monitoring combined with tracing helps […]

  • How to Mock a TypeScript class or dependency using Jest

    How to Mock a TypeScript class or dependency using Jest

    Jest is an awesome and easy to use testing framework for JavaScript, but when it comes to TypeScript and mocking (specially to mock typescript classes) it can really become painful as TypeScript is not relaxed about the types as JavaScript is. In this article I am going to show you how to mock a dependency […]