Open eps1lon opened 2 years ago
Base: 96.31% // Head: 95.99% // Decreases project coverage by -0.32%
:warning:
Coverage data is based on head (
8649c0c
) compared to base (538b0d8
). Patch coverage: 93.32% of modified lines in pull request are covered.:exclamation: Current head 8649c0c differs from pull request most recent head 8712dca. Consider uploading reports for the commit 8712dca to get more accurate results
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
@eps1lon thanks! (but i wish you'd posted a branch link instead of opening a new PR - i now have three PRs to juggle (this, #2534, and #2430), which makes landing this update even harder)
Re your discussion point, as long as component stacks are correct within a React major/minor, there's no reason they need to stay the same as those change.
@eps1lon thanks! (but i wish you'd posted a branch link instead of opening a new PR - i now have three PRs to juggle (this, #2534, and #2430), which makes landing this update even harder)
What do you need to juggle and how would a branch help? The existing 2 are replaced by this one. If the forked component stack tests are fine, then this PR is ready to land
Every pull request has a permanent, eternal, undeleteable ref created on Github (that's not fetched by git by default, but can be opted into), so all three PRs must point to the same commit before landing any of them, or else any outliers will remain as orphaned refs for eternity.
Why are the other two PRs relevant here? They've been abandoned. The PR description clearly states that thus PR replaces them. How would I get CI to work without a PR?
Is there any change substance to discuss or do we want to spend more time on unrelated details? If I understood you correctly you have very limited time. But even if someone gives you a green PR that's not ok because?
@eps1lon the PR refs are part of the github repo, and no PRs are truly abandoned when a maintainer can update them directly. Either way, repo management concerns are never irrelevant/unrelated. On all my projects, I strenuously avoid having any abandoned PRs, and I repurpose every PR to ensure that all PR refs point to something useful.
This PR isn't quite green - coverage is failing - but it's great that tests are passing. When I have time to review it, I will certainly do so, and I appreciate the contribution.
Are createClass components no longer supported in React 17?
I'm not aware of any changes to createClass
. How would I tell the tests to test for createClass
support? I was under the impression that would be automatic just like with the other adapter tests
I think I diffed the 16 to 17 adapter files, and saw some code related to createClass removed.
In theory yes, the tests should be automatic, so if they're passing then maybe it's fine.
@eps1lon Thanks for integrating this adapter. We are eagerly waiting for this to release, as it's a blocker for us in our project.
This PR isn't quite green - coverage is failing - but it's great that tests are passing.
@ljharb Is this something you want me to address? As far as I can tell this adapter has not less coverage than the 16 adapter. But since 16 adapter has less coverage than the average it's somewhat expected that coverage decreases. It looks to me that coverage target isn't really a target and more a check for changes (96.31% looks completely arbitrary to me).
@eps1lon nah definitely not a requirement - just something that'd be nice to improve, if possible, until i have the time to get to the PR. Coverage targets are just minimums; the ideal is always 100% :-)
@ljharb We're in dire need to have support for react 17 and 18 in enzyme. Is there anything we could help with to speed things up?
Hello, how is the current progress ?
Stacked on #2534 (Diff against #2534)
Compared to https://github.com/enzymejs/enzyme/pull/2534/:
TODO: Open to discussing the remaining items @ljharb
Closes https://github.com/enzymejs/enzyme/issues/2429 Closes https://github.com/enzymejs/enzyme/pull/2534 Closes https://github.com/enzymejs/enzyme/pull/2430