Skip to content

Commit 567b9f5

Browse files
stemsmithartzis
andauthored
Update test/recaptcha.spec.js
Co-Authored-By: Brian Emil Hartz <[email protected]>
1 parent 5fda0cd commit 567b9f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/recaptcha.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ describe("ReCAPTCHA", () => {
117117
}
118118
}
119119
const instance = ReactTestUtils.renderIntoDocument(React.createElement(WrappingComponent));
120-
instance._internalRef.current.execute();
120+
instance._internalRef.current. executeAsync();
121121
expect(grecaptchaMock.execute).toBeCalledWith(WIDGET_ID);
122122
});
123123
it("executeAsync, should return a promise", () => {

0 commit comments

Comments
 (0)