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

Add support for test suite properties. Upgrade mkdirp. Drop node < 10 support #129

Merged
merged 3 commits into from Jun 20, 2020

Conversation

palmerj3
Copy link
Collaborator

This PR addresses the mkdirp security vulnerability by upgrading to the latest version.
This also drops node < 10 support for jest-junit.
As of Jest v26.0.0 jest itself no longer supports node < 10.

This PR also adds the ability to define custom test suite properties.

@palmerj3 palmerj3 merged commit 4e21bc3 into jest-community:master Jun 20, 2020
@palmerj3 palmerj3 deleted the addPropertiesSupport branch June 20, 2020 16:18
@karfau
Copy link

karfau commented Jun 22, 2020

Can you help me to understand if there is anything specific in jest 25 that will stop working with jest-junit?
Because in our project the CI build works fine with the latest version if jest-junit even though jest is still at v25.

@palmerj3
Copy link
Collaborator Author

No it should work just fine with older versions of jest, even far below 25.

But older versions of jest used to support node 8. So really this recent change just updates node.js support.

@karfau
Copy link

karfau commented Jun 22, 2020

So you could basically still test against node 10 and jest v25 but decided to not do that?

@palmerj3
Copy link
Collaborator Author

My thought process when maintaining jest-junit this entire time has been to share the same runtime requirements as jest.

But you're making me think that I should at least test for earlier versions of jest in CI.
If there is some breaking change in the future I would stick to my first sentence.

But right now I see no reason the latest jest-junit wouldn't work in several older jest versions.
I'll push a change now to add the last two or three jest versions to the CI build.

@palmerj3
Copy link
Collaborator Author

Ok I've re-added CI testing for node >= 10 and jest >= 22.0.0. So for the time being we know 11.0.0 has support for this and I'll do my best to keep it that way.

Thanks for commenting!

@karfau
Copy link

karfau commented Jun 22, 2020

Thank you for reconsidering, it provides confidence.

This was referenced May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants