Skip to content
Browse files

doc: improve common.mustCall() explanation

PR-URL: #10390
Reviewed-By: Colin Ihrig <>
Reviewed-By: Julian Duque <>
Reviewed-By: Luigi Pinca <>
Reviewed-By: Italo A. Casas <>
Reviewed-By: James M Snell <>
  • Loading branch information...
Trott authored and evanlucas committed Dec 21, 2016
1 parent 826decf commit 8a9d68ad7ca061fdf40fb2ce6861a7cf086bf9e5
Showing with 4 additions and 1 deletion.
  1. +4 −1 test/
@@ -290,8 +290,11 @@ Array of IPV6 hosts.
### mustCall(fn[, expected])
* fn [&lt;Function>](
* expected [&lt;Number>]( default = 1
* return [&lt;Function>](

Number of times `fn` should be called.
Returns a function that calls `fn`. If the returned function has not been called
exactly `expected` number of times when the test is complete, then the test will

### nodeProcessAborted(exitCode, signal)
* `exitCode` [&lt;Number>](

0 comments on commit 8a9d68a

Please sign in to comment.
You can’t perform that action at this time.