Ken Muse
Mastering the Jest TestEnvironment Event Types
Continuing the topics from my last post, this week I want to offer a deep dive into the lifecycle of a Jest TestEnvironment by exposing the events that are raised when tests are run. I’ll also explore some of the details that are included with each event.

Read this article

A Crash Course on Jest TestEnvironments with TypeScript
I needed a way to implement integration tests that would allow me to ensure that I could clean up the emulators I was using after each test cycle. Jest Test Environments provided a powerful way to do this, and TypeScript makes it easy to do (aside from a few quirks).

Read this article

Implementing Processes for GHAS using GitHub Probot
GitHub Advanced Security (GHAS) helps teams to shift left and secure their development practices. But what do you do when its process its processes and practices doesn’t quite fit your team’s approach? In this post, we’ll look at how to use GitHub Probot to implement your own process in a GitHub-native way.

Read this article

What Developers Should Know About Floating Point Numbers
Ever wondered why some numbers never seem to add up? Or why adding 0.1 and 0.2 doesn’t exactly equal 0.3 in JavaScript? Or why adding two numbers sometimes gives an unexpected value with floats and doubles in C# and Java? It’s time to understand floating point numbers and the magic that makes them operate.

Read this article

Using New GitHub APIs With Probot
Probot makes it simple to create GitHub Apps, but sometimes the APIs update faster than Probot does. Learn how you can implement unsupported web hooks and APIs.

Read this article