You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
2
2
## 4.0.0-rc.4 (2019-09-25)
3
3
4
-
Start from the version, the `unit-jest` plugin now comes with four configuration presets:
4
+
Start from the version, the `unit-jest` plugin comes with 4 configuration presets:
5
5
6
6
-`@vue/cli-plugin-unit-jest` The default preset for the most common type of projects
7
7
-`@vue/cli-plugin-unit-jest/presets/no-babel` If you don't have `@vue/cli-plugin-babel` installed and don't want to see babel files in the project
8
8
-`@vue/cli-plugin-unit-jest/presets/typescript` The preset with TypeScript support (but no TSX support)
9
-
-`@vue/cli-plugin-unit-jest/presets/typescript-and-babel` The preset with TypeScript (and TSX) and babel suuport.
9
+
-`@vue/cli-plugin-unit-jest/presets/typescript-and-babel` The preset with TypeScript (and TSX) and babel support.
10
10
11
11
If you haven't changed the default Jest configurations (lies in either `jest.config.js` or the `jest` field in `package.json`) ever since project creation, you can now replace the massive configuration object with one single field:
12
12
@@ -19,7 +19,7 @@ module.exports = {
19
19
20
20
A reminder:
21
21
The default test environment in the new presets is jsdom@15, which differs from the default one in Jest 24 (jsdom@11).
22
-
This is to be align with the upcoming Jest 25 changes.
22
+
This is to be aligned with the upcoming Jest 25 updates.
23
23
Most users won't be affected by this change.
24
24
For a detailed changelog with regard to jsdom, see https://github.com/jsdom/jsdom/blob/master/Changelog.md
0 commit comments