#javascript
3 posts · all writing →
What is the nullish coalescing operator for in JavaScript
I'm frequently asked why you would use the nullish coalescing operator rather than a simple OR operator, time to look at the differences
Using generator functions to handle mock responses
A simple use case for javascript generator functions to handle repeatable and reliable mock endpoint responses in end-to-end or unit tests
Logging and mocking HTTP requests with TestCafe
A look into how to intercept, log and mock http requests within your end to end tests using TestCafe.