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

ES6 Promises in Depth

Welcome back to ES6 – “Dude, we already had those!” – in Depth series. If you’ve never been around here before, start with A Brief …...

Read more »

Interfaces in Vanilla ES6 JavaScript

Recently, I found myself implementing a library in a few different languages. I started in PHP, which is pretty much Java’s weird multi-paradigm little-brother. Thus, it has compile-time interfaces that will ensure that classes adhere to and implement spe... (more…)

Read more »