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 Proxy and Localization

Maybe you've heard of JavaScript Proxy and think, "Hey that's cool and such, but what should I use it for?" Don't worry, I thought this too until recently when I needed a catch-all solution. And BEHOLD, the indirect intermediary known only as "Proxy" aros... (more…)

Read more »