Skip to content

Commit

Permalink
feat(ui/testing): README - add important links for reading
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoenescu committed Apr 15, 2024
1 parent b1db35f commit 466f39f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ui/testing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,12 @@ $ pnpm test:specs --target <target_file>
* There are some custom matchers that you can use (`$any`, `$arrayValues`, `$objectValues`, `$ref`, `$reactive`) and also some extra @vue/test-utils mount() additions (`$style`, `$computedStyle`): [code](https://github.com/quasarframework/quasar/blob/dev/ui/testing/setup.js)
* Use of Copilot when writing the tests is allowed ;)

Important reading list:
* https://vitest.dev/api/expect.html
* https://test-utils.vuejs.org/api/
* https://vitest.dev/api/
* https://vitest.dev/api/vi.html

## Common formulas for writing tests

> When instructed to search for something, do it in /ui/src/**/*.test.js files.
Expand Down

0 comments on commit 466f39f

Please sign in to comment.