enzymejs / enzymejs/enzyme

hooks: fix failing tests with mismatched renderer

Open
#2,113 10 comments 0 reactions 0 assignees View on GitHub
bug help wanted package: react adapter: 16
Dominant language
JavaScript
Stars
19.8k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

There's a few tests failing, currently marked as allowed failures in https://github.com/airbnb/enzyme/commit/3db6013d9f5b9034594b78f5c182fc4146af4841, that shouldn't be failing.

Ideally, the functionality can be fixed; if not, then the tests should be skipped when the breakages are expected.

Contributor guide

Open the contributing guide

Research direction

Start with the allowed-failure changes in commit 3db6013d9f5b9034594b78f5c182fc4146af4841 and identify the hooks tests failing with a mismatched renderer. Determine whether the functionality can be fixed; otherwise, mark only the expected breakages as skipped. Done means the affected tests no longer fail unexpectedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.