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 remarkable ES6 spread operator

A quick post to write about one of my favourite ES6 feature - Spread operator. What is it?Official (and frankly boring) definition from Mozilla docs: Spread syntax (...) allows an iterable such as an array expression or string to be expanded in places whe... (more…)

Read more »