|Assigned To:||Daniel Lobato Garcia|
|Target version:||Team Daniel - iteration 3|
|Found in release:||Pull request:||https://github.com/theforeman/foreman/pull/3829|
|Velocity based estimate||-|
Jasmine is a good testing framework with a great plugin ecosystem and widely used in other projects for this same use case (Rails + js).
Fixes #13748 - Add testing tools for code under webpack
This commit adds jest as a tool to be used to test some of the code
under webpack, supporting ES2015 via babel-polyfill.
The purpose of this is just to give the tools for other developers
By default, jest is automocking everything except for jQuery with this