cypress test only one file code example
Example: cypress test only one file
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