Skip to content

Commit 26dc60d

Browse files
chore: add @legacy to install script (#2058)
### [커밋 타입]: [작업내용] ##### 본문 - 한 줄에 최대 72 글자까지만 입력하기 # 1. 무엇을 수정했는지 # 2. 왜 수정했는지 # 꼬릿말은 아래에 작성: ex) #이슈 번호 - # [커밋 타입] 리스트 # feat : 기능 (새로운 기능) # fix : 버그 (버그 수정) # refactor : 리팩토링 # style : 스타일 (코드 형식, 세미콜론 추가: 비즈니스 로직에 변경 없음) # docs : 문서 (문서 추가, 수정, 삭제) # test : 테스트 (테스트 코드 추가, 수정, 삭제: 비즈니스 로직에 변경 없음) # chore : 기타 변경사항 (빌드 스크립트 수정 등) # post : 블로그 포스트 추가 (신규 포스트 작성 및 수정) # ------------------ # [체크리스트] # 제목 첫 글자는 대문자로 작성했나요? # 제목은 명령문으로 작성했나요? # 제목 끝에 마침표(.) 금지 # 제목과 본문을 한 줄 띄워 분리하기 # 본문에 여러줄의 메시지를 작성할 땐 "-"로 구분했나요? # ------------------ Now, when the script is executed the latest version is installed. I think we need to add "@legacy" to install version 1.3.4
1 parent 894abd1 commit 26dc60d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: docs/installation/using-with-jest.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ The plugin pulls all required dependencies (including jest), creates a `jest.con
1717
After that, all you need to do is to install Vue Test Utils.
1818

1919
```bash
20-
$ npm install --save-dev @vue/test-utils
20+
$ npm install --save-dev @vue/test-utils@legacy
2121
```
2222

2323
### Manual installation
2424

2525
After setting up Jest, the first thing to do is to install Vue Test Utils and [`vue-jest`](https://github.com/vuejs/vue-jest) to process Single-File Components:
2626

2727
```bash
28-
$ npm install --save-dev @vue/test-utils vue-jest
28+
$ npm install --save-dev @vue/test-utils@legacy vue-jest
2929
```
3030

3131
Then, you need to tell Jest to transform `.vue` files using `vue-jest`. You can do so by adding the following configuration in `package.json` or in a standalone [Jest config file](https://jestjs.io/docs/en/configuration):

0 commit comments

Comments
 (0)