Skip to content

Commit

Permalink
Merge pull request #7203 from pjonsson/shallowtools-render-args
Browse files Browse the repository at this point in the history
test: fix args to getMountedInstance()
  • Loading branch information
na9da authored Oct 22, 2024
2 parents dc3ec3c + e5c94c1 commit cf6a761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ReactViews/MoreShallowTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function getShallowRenderedOutput(jsx) {

export function getMountedInstance(jsx) {
const renderer = getRenderedRenderer(jsx);
return renderer.getMountedInstance(renderer);
return renderer.getMountedInstance();
}

export function findAllEqualTo(reactElement, text) {
Expand Down

0 comments on commit cf6a761

Please sign in to comment.