Writing Jasmine Unit Tests in ES6 JavaScript

Previously I showed how to write application code using ES6, but wouldn’t it be nice to use ES6 when writing unit tests as well? In the following post I will demonstrate how to write Jasmine tests using ES6 syntax.

Similar

The ES6 Promises

Promises introduced in ES6 to improve handling of async operations. They are around for a long time but with ES6 they became part of vanilla JavaScript. Now you can use Promises in your JavaScript… (more…)

Read more »