Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Frontend
- 프론트엔드
- Prettier
- 패캠
- 가상돔
- 전역 상태 관리
- F-Lab
- F-Lab 오티
- Husky
- React
- 데이터 타입
- jest
- context api
- 주간 회고
- virtual DOM
- Jest Matchers
- F-Lab 회고
- 비동기 테스트
- javascript
- 인프런 멘토링
- github actions
- 모노레포
- TDD
- Reconsiliation
- 에프랩
- ESLint
- 마이크로프론트엔드
- aws s3
- CICD
- 패스트캠퍼스
Archives
- Today
- Total
목록비동기 테스트 (1)
bytrustu tech blog
[Jest] 비동기 테스트 하기
비동기 함수를 테스트해보자. https://jestjs.io/docs/asynchronous Testing Asynchronous Code · Jest It's common in JavaScript for code to run asynchronously. When you have code that runs asynchronously, Jest needs to know when the code it is testing has completed, before it can move on to another test. Jest has several ways to handle this. jestjs.io async.js fetchProduct 함수의 매개변수가 error의 경우 Error를 발생합니다. const..
TDD
2022. 12. 19. 01:10