Promises in JavaScript Unit Tests: The Definitive Guide

Jani Hartikainen explains how to deal with promises in unit tests using Mocha and Chai as the base and showing promise-related patterns that occur in tests. Read more

Similar

The JavaScript Black Hole

In the 25 years since JavaScript was first added to Netscape Navigator, the language has evolved from a cute little toy to an integral part of the Internet. JavaScript frameworks such as React and Angular have transformed the web, bringing us fully-fledge... (more…)

Read more »

ES2020: Quoi de Neuf JavaScript?

Une nouvelle version du standard ECMAScript sur lequel repose JavaScript est prévue cette année sous le nom de ES11 ou ES2020. Voyons voir ce que nous réserve cette nouvelle mouture. Il était une fois... JavaScript a été... (more…)

Read more »