test: fix process.argv reset during cli tests

This commit is contained in:
Andrea Lamparelli 2023-07-11 22:32:51 +02:00
parent 49a7350406
commit da1ce338e1
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",