Update dependency enzyme-adapter-preact-pure to v4.1.0#41
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Update dependency enzyme-adapter-preact-pure to v4.1.0#41renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
Contributor
Author
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: exercises/a03/my-project/package-lock.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.0.1->4.1.0Release Notes
preactjs/enzyme-adapter-preact-pure
v4.1.0Compare Source
Adds a new shallow renderer that more closely matches the behavior of the
React 16 shallow renderer. This new renderer can be enabled by importing
CompatShallowRendererfromenzyme-adapter-preact-pure/compatand passingit in the
ShallowRendererAdapter option.The previous shallow renderer rendered components into a DOM and modified the
component's output so that all children return null to prevent rendering
further down the tree. The compat shallow renderer is a custom implementation
of Preact's diffing algorithm that only shallow renders the given component
and does not recurse down the VDOM tree. It's behavior more closely matches
the React 16 Enzyme adapter and it well suited for migrating an Enzyme test
suite from React to Preact.
Support more return types (e.g. booleans, numbers, BigInts) from components
Add an option (
renderToString) to allow passing in a custom string rendererto use for Enzyme's 'string' renderer instead of rendering into the DOM and
reading the HTML output. It is expected that
renderToStringfrompreact-render-to-stringis passed into this option. This change enablesusing the string renderer in non-DOM environments and more closely matches the
React adapter's behavior.
Add a feature flag (
simulateEventsOnComponents) for supporting simulatingevents on Components
#211
This new feature flag turns on behavior that enables calling
.simulatedirectly on Components. For shallow rendering, this directly calls the
component's corresponding prop. For mount rendering, it finds the first DOM
node in the Component, and dispatches the event from it.
NOTE: This flag changes the behavior of calling
simulateon shallow renderedhost (a.k.a DOM) nodes. When this flag is off,
simulatedispatches a nativeDOM event on the host node. When this flag is turned on,
simulatedirectlycalls the prop of the event handler with arguments passed to
simulate.The behavior turned on by this flag matches the behavior of the React 16
Enzyme adapter.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.