You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to say preprocessors: { 'src/**/*.js': ['coverage'] }, instead of preprocessors: { 'js/**/*.js': ['coverage'] }, breaks all unit tests and throws many "unexpected token: numeric literal".
Most likely istanbul / karma-coverage don't support ES6 modules fully natively yet. (without webpack).
The text was updated successfully, but these errors were encountered:
Coverage reports are not generated correctly.
Fixing
cdav-library/karma.conf.js
Line 12 in 9582bee
preprocessors: { 'src/**/*.js': ['coverage'] },
instead ofpreprocessors: { 'js/**/*.js': ['coverage'] },
breaks all unit tests and throws many "unexpected token: numeric literal".Most likely istanbul / karma-coverage don't support ES6 modules fully natively yet. (without webpack).
The text was updated successfully, but these errors were encountered: