Skip to content

Commit

Permalink
Improve development experience (#224)
Browse files Browse the repository at this point in the history
Update chartjs-test-utils to latest version, which adds textual output
of fixture diffs in log. Also add the missing `--auto-watch` switch to 
karma when run with `npm run test:dev`, so the non-minified build gets
used.
  • Loading branch information
kurkle authored Feb 23, 2021
1 parent 2030933 commit 9586e39
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
44 changes: 22 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"lint": "eslint . --ext .js --ext .ts",
"package": "node scripts/create-packages.js",
"test-unit": "karma start --single-run --coverage --grep",
"test-unit:dev": "karma start --grep",
"test-unit:dev": "karma start --auto-watch --grep",
"test-types": "tsc -p types/test",
"test": "npm run test-types && npm run test-unit",
"test:dev": "npm run test-unit:dev"
Expand All @@ -42,7 +42,7 @@
"acorn": "^8.0.4",
"archiver": "^5.1.0",
"chart.js": "~2.9.4",
"chartjs-test-utils": "^0.2.0",
"chartjs-test-utils": "^0.2.2",
"eslint": "^7.15.0",
"eslint-config-chartjs": "^0.3.0",
"eslint-plugin-es": "^3.0.1",
Expand Down

0 comments on commit 9586e39

Please sign in to comment.