일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- k8s
- JavaScript
- 리액트
- AWS
- kubernetes
- TypeScript
- CSS
- 블록체인
- 알고리즘
- 백엔드
- 파이썬
- 이더리움
- 웹
- es6
- 백준
- docker
- VUE
- 타입스크립트
- 자바스크립트
- BFS
- next.js
- 프론트엔드
- 이슈
- 솔리디티
- 가상화
- react
- 클라우드
- 컴퓨터공학
- 쿠버네티스
- HTML
Archives
- Today
- Total

목록📖 enzyme (1)
즐겁게, 코드

이슈 내용 : Enzyme 사용 시, mount 함수를 사용해 스냅샷 테스팅을 진행하면 TypeError: Cannot read property 'child' of undefined 오류가 출력됨. 간단한 오류입니다! Enzyme으로 테스팅을 진행할 때, 컴포넌트에는 아무런 오류가 없음에도 "Cannot read property 'child' of undefined" 라는 오류가 출력될 때가 있습니다. import { mount } from "enzyme"; import Profile from "./Profile"; describe("", () => { it("matches snapshot", () => { const wrapper = mount(); expect(wrapper).toMatchSnapsh..
📙 이슈 솔루션/프론트엔드
2021. 7. 27. 08:14
소소한 팁 : 광고를 눌러주시면, 제가 뮤지컬을 마음껏 보러다닐 수 있어요!
와!! 바로 눌러야겠네요! 😆