본문 바로가기

bytrustu tech blog

검색하기
bytrustu tech blog
프로필사진 bytrustu

  • 분류 전체보기 (16)
    • React (1)
    • Javascript (1)
    • TDD (4)
    • Git (2)
    • 교육 (8)
      • F-Lab (6)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
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
  • 패스트캠퍼스
  • Husky
  • 가상돔
  • 패캠
  • context api
  • virtual DOM
  • 마이크로프론트엔드
  • 데이터 타입
  • github actions
  • Frontend
  • CICD
  • Prettier
  • 전역 상태 관리
  • 모노레포
  • Reconsiliation
  • 프론트엔드
  • 비동기 테스트
  • 주간 회고
  • Jest Matchers
  • React
  • 에프랩
  • TDD
  • F-Lab 오티
  • F-Lab 회고
  • 인프런 멘토링
  • aws s3
  • ESLint
  • javascript
  • jest
  • F-Lab
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록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
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바