cafe code everyone code cheer tests working for add package.json file scripts scope add for example "{fileName} " : "mocha '{fileName}.js'". See you package.json check test npm run {fileName}