cypress run --spec path/to/file.spec.js // Ex: package.json { "scripts": { "unit-testing": "cypress run --spec path/to/file.spec.js" } } // npm run unit-testing