Skip to content

Commit

Permalink
docs: add pnpm test command to run whole test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed May 17, 2023
1 parent 52da9d1 commit 4907660
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/5.community/5.framework-contribution.md
Expand Up @@ -65,7 +65,7 @@ You can modify the example app in `playground/`, and run it with `pnpm dev`. Ple

Every new feature should have a corresponding unit test (if possible). The `test` folder in this repository is currently a work in progress, but do your best to create a new test following the example of what's already there.

Before creating a PR or marking it as ready-to-review, ensure that all tests pass by running `pnpm test:fixtures` locally.
Before creating a PR or marking it as ready-to-review, ensure that all tests pass by running `pnpm test` locally.

## Linting

Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -16,6 +16,7 @@
"play": "nuxi dev playground",
"play:build": "nuxi build playground",
"play:preview": "nuxi preview playground",
"test": "pnpm test:fixtures && pnpm test:fixtures:payload && pnpm test:fixtures:dev && pnpm test:fixtures:webpack && pnpm test:unit && pnpm typecheck",
"test:fixtures": "nuxi prepare test/fixtures/basic && nuxi prepare test/fixtures/runtime-compiler && vitest run --dir test",
"text:fixtures:payload": "TEST_PAYLOAD=js pnpm test:fixtures",
"test:fixtures:dev": "TEST_ENV=dev pnpm test:fixtures",
Expand Down

0 comments on commit 4907660

Please sign in to comment.