Skip to content

Commit 945d4ac

Browse files
committed
docs(jest): release stable version
1 parent ff20e29 commit 945d4ac

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Diff for: packages/unit-jest/README.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22

33
> **[Jest isn't compatible with Vite](https://github.com/quasarframework/quasar-testing/issues/244#issuecomment-1293671738)**, if you use `@quasar/app-vite` and you need unit testing, you should use [Vitest](../unit-vitest/README.md) instead.
44
5-
> This package is in **beta** phase. The public API shouldn't change before the stable release.
6-
75
> **We're looking for a maintainer!**
86
> Currently no one in the Quasar team is using Jest in his day-to-day life, thus we miss many use cases and the DX is suboptimal.
97
> We're looking for someone who is using it and would like to help us maintain this package.
108
> **If you're interested, please reach out on [Discord](https://chat.quasar.dev/)**
119
1210
```shell
13-
$ quasar ext add @quasar/testing-unit-jest@beta
11+
$ quasar ext add @quasar/testing-unit-jest
1412
```
1513

1614
Add into your `.eslintrc.js` the following code:
@@ -108,9 +106,9 @@ You can choose to install [Majestic](https://github.com/Raathigesh/majestic), wh
108106
> This package had a long alpha phase due to narrow bandwidth on Quasar team to care about it as much as it was needed.
109107
> When the first alpha release took place the active Jest version was v26, while at the time of the beta release it bumped to v29.
110108
> We decided to update directly to Jest v29 before releasing the beta of this package.
111-
> The suggested path to migrate projects using v3 alpha release of this package is to re-read and apply the migration guide which has been updated to account for new changes.
109+
> The suggested path to migrate projects using v3 alpha or beta releases of this package is to re-read and apply the migration guide which has been updated to account for new changes.
112110
113-
Alternatively to the following guide, a faster way for advanced developers would be to run `yarn quasar ext add @quasar/testing-unit-jest@beta` and `yarn add -D jest @vue/test-utils eslint-plugin-jest@latest`, then let the package scaffold new files overriding the existing ones and manually merge your changes into the generated files. Ensure to have version control in place to be able to revert if needed. Even in this case, we suggest to take a look to the following migration guide and use it as a checklist, as some files must be renamed/removed.
111+
Alternatively to the following guide, a faster way for advanced developers would be to run `yarn quasar ext add @quasar/testing-unit-jest` and `yarn add -D jest @vue/test-utils eslint-plugin-jest@latest`, then let the package scaffold new files overriding the existing ones and manually merge your changes into the generated files. Ensure to have version control in place to be able to revert if needed. Even in this case, we suggest to take a look to the following migration guide and use it as a checklist, as some files must be renamed/removed.
114112

115113
**Please note that Jest v29 requires Node v14, thus this package can only be used with Node 14 or higher.**
116114

@@ -119,7 +117,7 @@ Alternatively to the following guide, a faster way for advanced developers would
119117
We adapted to the ecosystem shift towards externalizing dependencies, we now manage supported versions of third parties packages via peerDependencies.
120118
Run `yarn add -D jest @vue/test-utils` to install previously bundled dependencies.
121119

122-
Run `yarn add -D @quasar/quasar-app-extension-testing-unit-jest@beta eslint-plugin-jest@latest` to upgrade dependencies which were already externalized.
120+
Run `yarn add -D @quasar/quasar-app-extension-testing-unit-jest eslint-plugin-jest@latest` to upgrade dependencies which were already externalized.
123121

124122
Here are some resources which you should read, adapting your tests accordingly:
125123

0 commit comments

Comments
 (0)