Run test steps in order, then call done.
done
Pass the steps as function parameters, with done last. Each step's result is passed to the next step. done(err, result) is called with the last step's result, or right away with the error from the first step that fails.
done(err, result)
the steps to run, followed by the done callback
Run test steps in order, then call
done.Pass the steps as function parameters, with
donelast. Each step's result is passed to the next step.done(err, result)is called with the last step's result, or right away with the error from the first step that fails.