Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with coverage while using rewire with jest #400

Closed
kvharish opened this issue Oct 6, 2020 · 1 comment
Closed

Issue with coverage while using rewire with jest #400

kvharish opened this issue Oct 6, 2020 · 1 comment
Labels
stale No updates for a while testing

Comments

@kvharish
Copy link
Contributor

kvharish commented Oct 6, 2020

Hi, @jayehernandez @Kvaibhav01 I am currently looking to add some tests to boost the coverage. I notice that rewire is being used in server/test/letra.test.js in order to test internal functions in server/routes/letra.js. There is an ongoing issue with coverage, not updating while using rewire with jest.

jestjs/jest#8871
jhnns/rewire#145

Not sure if this has been already discussed here before. I would like to know if we have any alternate approach already in mind?

@jayehernandez
Copy link
Owner

Hey @kvharish! I haven't actually considered any alternative approach yet, do you have something in mind?

@jayehernandez jayehernandez closed this as not planned Won't fix, can't repro, duplicate, stale Oct 20, 2022
@jayehernandez jayehernandez added the stale No updates for a while label Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale No updates for a while testing
Projects
None yet
Development

No branches or pull requests

2 participants