Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 376 Bytes

mocha-unneeded-done.md

File metadata and controls

13 lines (8 loc) · 376 Bytes

Pattern: Unneeded Mocha Done

Issue: -

Description

A function declares a Mocha Done parameter but only resolves it synchronously in the main function. The Mocha Done parameter can be safely removed from the parameter list.

Further Reading