Skip to content

Commit

Permalink
feat: add root test command
Browse files Browse the repository at this point in the history
  • Loading branch information
paulovareiro29 committed Jan 29, 2025
1 parent 13520ca commit ed94b71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,13 @@ These steps will install the necessary dependencies, navigate to the "packages/d
### Helpful Commands

```
$ pnpm test // run only tests in repo
$ pnpm fix // fix all formatting and linting in repo
$ pnpm verify // run tests and builds in repo
$ cd packages/docs
&& pnpm dev // start dev server
&& pnpm test // run accessibility tests
&& pnpm test.watch // run accessibility tests in watch mode
$ cd packages/components
&& pnpm test // run tests
&& pnpm test.watch // run tests in watch mode
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test": "pnpm --workspace-concurrency=1 --recursive test",
"prepare": "node .husky/install.mjs",
"verify": "pnpm format.verify && pnpm lint.verify && pnpm --recursive --if-present --workspace-concurrency=1 verify",
"fix": "pnpm lint.fix && pnpm format.fix",
Expand Down

0 comments on commit ed94b71

Please sign in to comment.