Use Karma to run tests for Ext JS applications. Run tests and measure coverage without any html-file facilitation.
$ npm install --save-dev karma-extjs
var karma = ;karma;
The appconfig.js is typically a file that sets the Ext JS config. Something like:
The testapp.js is typically a file that starts the Ext JS application. Somethig like:
Path to the jsb3 file of your application/package. This is used to append source files to Karma config in the correct order.
true will add 'coverage' preprocessors to source files and add the coverage reporter.
Serve the root of the project. Karma will use this server as a proxy when files are layzy loaded.
File(s) to append to Karma files before the source files are appended.
File(s) to append to Karma files after the source files are appended.
Dictionary with Karma config.
Note: proxies option is overridden and cannot be configured through the API.