diff --git a/docs/config/README.md b/docs/config/README.md index f9495f4050..32960393db 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -193,7 +193,7 @@ Deprecated since Vue CLI 3.3, please use [`publicPath`](#publicPath) instead. ::: warning Jest config This option is not respected by the [cli-unit-jest plugin](#jest), because in jest, we don't have to transpile code from `/node_modules` unless it uses non-standard features - Node >8.11 supports the latest ECMAScript features already. -However, jest sometimes has to transform content from node_modules if that code uses ES6 `import`/`export` syntax. In that case, use the `tranformIgnorePatterns` option in `jest.config.js`. +However, jest sometimes has to transform content from node_modules if that code uses ES6 `import`/`export` syntax. In that case, use the `transformIgnorePatterns` option in `jest.config.js`. See [the plugin's README](https://github.com/vuejs/vue-cli/blob/dev/packages/%40vue/cli-plugin-unit-jest/README.md) for more information. ::: diff --git a/packages/@vue/cli-plugin-unit-jest/README.md b/packages/@vue/cli-plugin-unit-jest/README.md index 488eae8572..7aabbbd547 100644 --- a/packages/@vue/cli-plugin-unit-jest/README.md +++ b/packages/@vue/cli-plugin-unit-jest/README.md @@ -51,7 +51,7 @@ However, we have (at least) three cases where we do need to transpile code from 2. Single File Components (`.vue` files) which have to be run through `vue-jest` 3. Typescript code -To do this, we need to add an exception to the `tranformIgnorePatterns` option of jest. This is its default value: +To do this, we need to add an exception to the `transformIgnorePatterns` option of jest. This is its default value: ```javascript transformIgnorePatterns: ['/node_modules/']