javascript Testing async/await with Babel and Mocha I was curious about testing ES6/7 code transpiled with Babel. Getting it to work is fairly straightforward. Here's what I found... Setup The documentation for Babel tells you to setup an NPM script to run mocha tests as such: { "scripts": { "
javascript Gettings started with Babel and Node I've been using Babel recently to perform transpiling of Node.js code. I've previously used Traceur and it always left a bit to be desired. The big winner now, is the support of ES7 code such as async/await. This guide will show a