Does the code profiling utility support ES6 arrow functions? It seems to not, as I'm getting a warning at the position of my first arrow function:
Instrumentation of the file failed: app/view/{foobar}.js, error: SyntaxError: Unexpected token (69:49)
Ext.Object.each(me.icons, (key, config) => {
// foo bar
});
We're venturing into this brave new world of Sencha Cmd transpiling ES6 to ES5 in our ExtJS app build and we hope you can help us keep up code coverage through the process.
Sorry for the inconvenience, the coverage rewrite requires some internals refactoring, and thats not easy with preserving backward-compatibility, considering how many features Siesta supports. The first step will be 5.0 release, which turns Siesta into regular `npm` package, then we continue from that.
Just released Siesta 5.1.0 with completely new coverage module, running on "stock" latest Istanbul, supporting the arrow functions and other ES6 features.