Closed AbdelrahmanHafez closed 4 years ago
In the first example of the docs, what does done refer to? I thought it was a missing parameter for the callback parameter that's passed to execPre(...), but I noticed it's consistently not mentioned everywhere where execPre(...) is used.
done
execPre(...)
Fixed. The done() in the examples is Mocha's done(), because we generate the README examples from our mocha tests.
done()
In the first example of the docs, what does
done
refer to? I thought it was a missing parameter for the callback parameter that's passed to execPre(...), but I noticed it's consistently not mentioned everywhere whereexecPre(...)
is used.