Skip to content

Commit

Permalink
[chores] Run jest in silent mode
Browse files Browse the repository at this point in the history
Some tests make the library fail on purpose.
The library reports the failure with console.error,
these failures are shown in the output and may
be confused for test failures, but they're not.

This change avoids the confusion.
  • Loading branch information
nemesifier committed Oct 18, 2023
1 parent 73ee685 commit f2434a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"description": "NetJson format data visualization",
"main": "index.js",
"scripts": {
"test": "jest",
"test": "jest --silent",
"dev": "webpack serve --open --mode development",
"start": "yarn dev",
"build": "webpack --progress --mode production",
"coverage": "jest --coverage",
"coveralls": "test -f ./coverage/lcov.info && cat ./coverage/lcov.info | coveralls || echo 'no coverage file found'",
"coverage": "jest --silent --coverage",
"coveralls": "jest --silent -f ./coverage/lcov.info && cat ./coverage/lcov.info | coveralls || echo 'no coverage file found'",
"precommit": "lint-staged",
"lint": "eslint '**/*.js'",
"lint:fix": "eslint '**/*.js' --fix",
Expand Down

0 comments on commit f2434a0

Please sign in to comment.