Image for post
Image for post

There’s something wrong with your code. At least, this is what the following warning seems to indicate:

Image for post
Image for post

All the tests are passing but this ExperimentalWarning leaves you unsettled. What baffles you is that queueMicrotask() is not directly used anywhere.

Warnings are harder to debug because they are not part of a program’s control flow. Instead, Node.js emits them on the global process. This is also the case for uncaught exceptions and mishandled promises.

Ignoring those process errors is not an option as they usually point to a bug. However, the way they are reported by Node.js is not developer-friendly.

✘ ️Problem 1: lack of context

The issue above would be simple to solve if stack traces had been…



Node.js back-end developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store