https://cypress.io logo
Hi everyone. I have setup eslint + cypress + husky...
# e2e-testing
f
Hi everyone. I have setup eslint + cypress + husky in my react project. I run pre-commit hook(npm run lint:check && npm run test -- --watchAll=false && npm run test:e2e) from 'pre-commit' file present in .husky folder before each commit. Everything works fine when I try to commit with vscode's integrated terminal. But when I try to commit from vscode's source control, eslint and unit tests runs fine but I get an error while running the e2e cypress test(npx cypress run) in the vscode terminal. Find the screenshot of the issue. Any help would be appreciated. Thanks in advance.