mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-26 06:48:16 -05:00
docs: fix typos [ci skip]
This commit is contained in:
+3
-3
@@ -1,12 +1,12 @@
|
||||
|
||||
## 4.0.0-rc.4 (2019-09-25)
|
||||
|
||||
Start from the version, the `unit-jest` plugin now comes with four configuration presets:
|
||||
Start from the version, the `unit-jest` plugin comes with 4 configuration presets:
|
||||
|
||||
- `@vue/cli-plugin-unit-jest` The default preset for the most common type of projects
|
||||
- `@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
|
||||
- `@vue/cli-plugin-unit-jest/presets/typescript` The preset with TypeScript support (but no TSX support)
|
||||
- `@vue/cli-plugin-unit-jest/presets/typescript-and-babel` The preset with TypeScript (and TSX) and babel suuport.
|
||||
- `@vue/cli-plugin-unit-jest/presets/typescript-and-babel` The preset with TypeScript (and TSX) and babel support.
|
||||
|
||||
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:
|
||||
|
||||
@@ -19,7 +19,7 @@ module.exports = {
|
||||
|
||||
A reminder:
|
||||
The default test environment in the new presets is jsdom@15, which differs from the default one in Jest 24 (jsdom@11).
|
||||
This is to be align with the upcoming Jest 25 changes.
|
||||
This is to be aligned with the upcoming Jest 25 updates.
|
||||
Most users won't be affected by this change.
|
||||
For a detailed changelog with regard to jsdom, see https://github.com/jsdom/jsdom/blob/master/Changelog.md
|
||||
|
||||
|
||||
Reference in New Issue
Block a user