Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/@vue/cli-plugin-unit-jest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `transformIgnorePatterns` option of jest. This is its default value:
To do this, we need to add an exception to the `transformIgnorePatterns` option of jest either in the packages.json or in this file 'node_modules\@vue\cli-plugin-unit-jest\presets\default\jest-preset.js'. This is its default value:

```javascript
transformIgnorePatterns: ['/node_modules/']
Expand Down