Skip to content

Commit

Permalink
Merge pull request #194 from mathieumg/prettier-2.x
Browse files Browse the repository at this point in the history
Updated Prettier to v2
  • Loading branch information
dozoisch authored Oct 31, 2020
2 parents 6b627d0 + 58f42f0 commit afd6eb3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.6.1",
"prettier": "1.19.1",
"prettier": "^2.1.2",
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
Expand Down
4 changes: 2 additions & 2 deletions test/recaptcha.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe("ReCAPTCHA", () => {
});

it("should call grecaptcha.render, when it is already loaded", () => {
return new Promise(resolve => {
return new Promise((resolve) => {
const grecaptchaMock = {
render(node, options) {
expect(node).toBeTruthy();
Expand Down Expand Up @@ -155,7 +155,7 @@ describe("ReCAPTCHA", () => {
const instance = ReactTestUtils.renderIntoDocument(React.createElement(WrappingComponent));
const executeAsyncDirectValue = instance._internalRef.current.executeAsync();
expect(executeAsyncDirectValue).toBeInstanceOf(Promise);
return executeAsyncDirectValue.then(executeAsyncResolveValue => {
return executeAsyncDirectValue.then((executeAsyncResolveValue) => {
expect(executeAsyncResolveValue).toBe(TOKEN);
});
});
Expand Down

0 comments on commit afd6eb3

Please sign in to comment.