inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

따라하며 배우는 리액트 테스트 [2023.11 업데이트]

[중요] 쇼핑몰 프로젝트를 위한 시작 소스 코드

eslint 설치 오류

456

Box Cat

작성한 질문수 1

0

터미널에 이렇게 입력했는데...

npm install eslint-plugin-testing-library eslint-plugin-jest-dom --save-dev

-------------------------------------

192 packages are looking for funding

  run `npm fund` for details

6 high severity vulnerabilities

To address all issues (including breaking changes), run:

  npm audit fix --force

Run `npm audit` for details.

위와 같이 나오고, 설치가 진행되지 않습니다. 어떻게 해야할까요?

---------------------------------------------------

yarn으로 설치하니까... 되는데, 이렇게 해도 되나요?

$ yarn add --dev eslint-plugin-testing-library

yarn add eslint-plugin-jest-dom

eslint yarn jest 웹앱 react React-Context

답변 0

제공해주신 코드를 vscode에서 켜도 eslint가 안됩니다.

0

322

2

ERROR

0

227

1

테스트 시간을 단축할 수 있는 방법에 대하여 문의드립니다.

0

392

1

useState 배열값 변경의 경우 테스트 멈춤

0

435

1

test was not wrapped in act관련 질문

0

320

2

안녕하세요! 로딩 상태 테스트에 관련된 질문입니다.

0

420

1

강의 관련 내용 github 업로드 질문

0

327

1

이미지가 안보인다 하셔서 다시 질문드립니다.

0

451

2

Test Fail이 발생합니다 ㅠㅠ

0

378

1

스타일 컴포넌트 테스트 방법

0

454

1

msw 에러

0

666

1

toHaveTextContent 에러

0

473

1

msw안돼는사람

0

603

1

This could be because the text is broken up by multiple elements. 에러

0

1749

2

Type.test.js파일에 궁금한점이 생겼습니다

0

374

1

28강 수강 중 JSX 작성 방법에 대해 궁금해져서 질문 남깁니다!

0

422

1

toHaveTextContent 에서 에러가 자꾸 나는데 아무리 찾아도 잘 모르겠습니다.

0

668

2

aria-*

0

462

1

This XML file does not appear to have any style information associated with it. The document tree is shown below. 에러

1

14304

1

컴포넌트 props내려줄때 코드는 어떻게 해야하나요

0

262

0

es6 jest 미지원 오류 문의

0

875

1

test 여러 개 실행 - fail 발생

0

305

1

useMemo

0

302

1

axios 1.1.2 버전 issue ( SyntaxError: Cannot use import statement outside a module)

4

2255

5