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
- jest
- TDD
- 주간 회고
- 전역 상태 관리
- F-Lab 오티
- github actions
- 인프런 멘토링
- Prettier
- 가상돔
- ESLint
- 모노레포
- CICD
- React
- 마이크로프론트엔드
- 패스트캠퍼스
- 에프랩
- Frontend
- 프론트엔드
- F-Lab
- 패캠
- aws s3
- javascript
- Husky
- context api
- F-Lab 회고
- Jest Matchers
- 비동기 테스트
- 데이터 타입
- Reconsiliation
- virtual DOM
Archives
- Today
- Total
목록Jest Matchers (1)
bytrustu tech blog
[Jest] Matchers 사용하기
Jest Matchers 사용법에 대해 알아보자. https://jestjs.io/docs/using-matchers Using Matchers · Jest Jest uses "matchers" to let you test values in different ways. This document will introduce some commonly used matchers. For the full list, see the expect API doc. jestjs.io Common Matchers toBe: 사용하는 코드가 정확하게 값을 체크한다. loop 중 내용도 모두 체크 가능하다. test('2+2 의 결과는 4이다.', () => { expect(2 + 2).toBe(4); }); test('Arra..
TDD
2022. 12. 18. 03:26