관리 메뉴

프론트엔드 정복하기

TDD | API 및 hook 테스트 본문

테스팅 라이브러리

TDD | API 및 hook 테스트

GROWNFRESH 2021. 12. 24. 15:30

https://www.loupetestware.com/post/mocking-api-calls-with-jest

 

Mocking API calls with Jest

Who needs mocks?Mocking can refer to functions, modules, servers… and what does it even mean? “Mocks” are a type of test pattern that can b...

www.loupetestware.com

https://jewelism.github.io/fe/react-hook-test-jest.html#%ED%85%8C%EC%8A%A4%ED%8A%B8%EC%BD%94%EB%93%9C

 

Boseok Blog

javascript dev blog

jewelism.github.io

https://github.com/threepointone/react-act-examples/blob/master/sync.md

 

GitHub - threepointone/react-act-examples: Notes and examples on ReactTestUtils.act(...)

Notes and examples on ReactTestUtils.act(...). Contribute to threepointone/react-act-examples development by creating an account on GitHub.

github.com

https://medium.com/@lucaspenzeymoog/mocking-api-requests-with-jest-452ca2a8c7d7

 

Mocking API Requests with Jest

I recently built a project using data from the Google Books API. I knew I wanted a comprehensive test suite, but I didn’t want to test my…

medium.com

 

'테스팅 라이브러리' 카테고리의 다른 글

테스트코드 작성기  (0) 2021.12.13