Skip to content

Commit

Permalink
chore: run Prettier in tests (#557)
Browse files Browse the repository at this point in the history
`npm test` now makes sure files match Prettier style.
  • Loading branch information
EvanHahn authored Apr 15, 2024
1 parent 01c7e0d commit f7ff572
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"scripts": {
"lint": "eslint --cache .",
"format": "prettier . --write",
"test": "npm-run-all lint build:types type test:unit test:e2e test:types",
"test": "npm-run-all lint test:prettier build:types type test:unit test:e2e test:types",
"test:prettier": "prettier --check .",
"test:unit": "brittle \"tests/**/*.js\"",
"test:e2e": "brittle \"test-e2e/**/*.js\"",
"test:types": "tsc -p test-types/tsconfig.json",
Expand Down

0 comments on commit f7ff572

Please sign in to comment.