"Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()"" code example
Example: Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
"scripts": {
// rest of your scripts
"test": "mocha server/**/*.test.js --timeout 10000"
},