Skip to content

Commit

Permalink
Merge pull request #407 from awulkan/patch-1
Browse files Browse the repository at this point in the history
Change: Remove Jest 27 version specification
  • Loading branch information
afontcu authored Nov 15, 2021
2 parents 91b30d2 + 61d94d9 commit 7ee1af9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ Jest transformer for Vue Single File Components.

Since we need to support a variety of Vue and Jest versions, vue-jest doesn't follow semantic versioning.

| Vue version | Jest Version | Package |
| ----------- | ----------------- | ------------------- |
| Vue 2 | Jest 26 and below | `vue-jest@4` |
| Vue 3 | Jest 26 and below | `vue-jest@5` |
| Vue 2 | Jest 27 | `@vue/vue2-jest@27` |
| Vue 3 | Jest 27 | `@vue/vue3-jest@27` |
| Vue version | Jest Version | Package |
| ----------- | ----------------- | ---------------- |
| Vue 2 | Jest 26 and below | `vue-jest@4` |
| Vue 3 | Jest 26 and below | `vue-jest@5` |
| Vue 2 | Jest 27 | `@vue/vue2-jest` |
| Vue 3 | Jest 27 | `@vue/vue3-jest` |

```bash
npm install --save-dev @vue/vue2-jest@27 # (use the appropriate version)
yarn add @vue/vue2-jest@27 --dev
npm install --save-dev @vue/vue2-jest # (use the appropriate version)
yarn add @vue/vue2-jest --dev
```

## Setup
Expand Down

0 comments on commit 7ee1af9

Please sign in to comment.