test: fix process.argv reset during cli tests (#60)

This commit is contained in:
Andrea Lamparelli 2023-07-11 22:43:22 +02:00 committed by GitHub
parent 49a7350406
commit 91782505ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 18 deletions

View file

@ -23,7 +23,7 @@
"package:cli": "ncc build ./build/src/bin/cli.js -o dist/cli",
"package:gha": "ncc build ./build/src/bin/gha.js -o dist/gha",
"build": "npm run clean && npm run compile && npm run package",
"test": "jest",
"test": "jest --silent",
"test:report": "npm test -- --coverage --testResultsProcessor=jest-sonar-reporter",
"lint": "eslint . --ext .ts",
"lint:fix": "npm run lint -- --fix",