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
I have index.ts files which only export the default from another file, like so:
export { default } from './pathToOtherFile'
The coverage on those files is reported at zero, although they are imported in the test file.
Adding /* istanbul ignore next */ is a working workaround.
Thanks!
The text was updated successfully, but these errors were encountered:
I've been trying to add the /* istanbul ignore next */ but without luck, where did you place it? Above the line with the export?
It seems most exports will be uncovered, although when I directly make use of it, it is covered. Exported types are seemingly unable to cover with TypeScript 3.9 / tslib 2.0.
I have
index.ts
files which only export the default from another file, like so:export { default } from './pathToOtherFile'
The coverage on those files is reported at zero, although they are imported in the test file.
Adding
/* istanbul ignore next */
is a working workaround.Thanks!
The text was updated successfully, but these errors were encountered: