Skip to content

Commit e5f9f21

Browse files
committed
chore(docs): run prettier
1 parent 6826764 commit e5f9f21

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/JestObjectAPI.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ module.exports = {
154154
return a * b;
155155
},
156156
asyncFunction: async function asyncSquare(a, b) {
157-
const result = await a * b;
157+
const result = (await a) * b;
158158
return result;
159159
},
160160
class: new (class Bar {

website/versioned_docs/version-25.x/JestObjectAPI.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ module.exports = {
150150
return a * b;
151151
},
152152
asyncFunction: async function asyncSquare(a, b) {
153-
const result = await a * b;
153+
const result = (await a) * b;
154154
return result;
155155
},
156156
class: new (class Bar {

website/versioned_docs/version-26.x/JestObjectAPI.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ module.exports = {
154154
return a * b;
155155
},
156156
asyncFunction: async function asyncSquare(a, b) {
157-
const result = await a * b;
157+
const result = (await a) * b;
158158
return result;
159159
},
160160
class: new (class Bar {

website/versioned_docs/version-27.0/JestObjectAPI.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ module.exports = {
154154
return a * b;
155155
},
156156
asyncFunction: async function asyncSquare(a, b) {
157-
const result = await a * b;
157+
const result = (await a) * b;
158158
return result;
159159
},
160160
class: new (class Bar {

0 commit comments

Comments
 (0)