Unit testing capabilities using advanced ES6 features