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 just switched from ts-jest to esbuild-jest and I have some files that should not be included in the coverage but are 馃
My files have a /* istanbul ignore file */ first line comment and should be ignored.
May I know if I miss a config somehow?
I solved this problem because the translation of esbuild removes redundant comments, causing the ignored comments to be deleted. There is such a solution in esbuild to force the retention of comments. E.g:
I just switched from ts-jest to esbuild-jest and I have some files that should not be included in the coverage but are 馃
My files have a
/* istanbul ignore file */
first line comment and should be ignored.May I know if I miss a config somehow?
EDIT: The reason is esbuild remove all comments evanw/esbuild#516
The text was updated successfully, but these errors were encountered: