Replies: 3 comments 2 replies
-
To debug this I would start by making sure CI environment matches with local one. Check that you have I haven't heard of similar issues before. Happy to look at minimal reproduction if you could provide one. |
Beta Was this translation helpful? Give feedback.
-
@jperetzIL did you get to the bottom of this or find any related issues? |
Beta Was this translation helpful? Give feedback.
-
I am using gitlab and we cache stuff for certain jobs, and gitlab downloads it on start of the job.
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I have been dealing with this issue for a bit and haven't found a solution or anything about it online. I have just moved to vite and vitest from CRA and Jest. While most things were straight forward and worked great - I ran into an issue with testing coverage.
Here is my Vite config File
Currently when I run
vitest run --coverage
locally I receive the following coverage:But then when I run the same test through a github action:
I get this:
As you can see - the Branches coverage is off by .1% and causing it to fail. I tried this with v8 as well and it did the same thing, but by .4% instead.
Any thoughts on what I might be missing here?
Beta Was this translation helpful? Give feedback.
All reactions