Commit c7d17ca2 authored by t11s's avatar t11s Committed by GitHub

docs: fix bad return value comment (#756)

parent 34ab776b
......@@ -286,7 +286,7 @@ MyMockContract.smocked.myFunction.will.return.with(() => {
return 'Some return value!'
})
console.log(await MyMockContract.myFunction()) // ['Some return value!']
console.log(await MyMockContract.myFunction()) // 'Some return value!'
```
### Returning a Function (w/ Arguments)
......@@ -304,7 +304,7 @@ MyMockContract.smocked.myFunction.will.return.with((myFunctionArgument: string)
return myFunctionArgument
})
console.log(await MyMockContract.myFunction('Some return value!')) // ['Some return value!']
console.log(await MyMockContract.myFunction('Some return value!')) // 'Some return value!'
```
### Reverting (w/o Data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment