es6에서 class method를 화살표 함수로 쓰면 enzyme으로 렌더링한 컴포넌트에서 찾을 수 없다.
'TDD&BDD' 카테고리의 다른 글
mocha] Resolution method is overspecified. Specify a callback *or* return a Promise; not both. (0) | 2019.11.22 |
---|---|
typescript에서 enzyme사용시 주의점#1 (0) | 2018.07.16 |
react mocha asynchronous function test(비동기 함수 테스트) (0) | 2018.07.16 |