[번역] Jest - Mock Functions
원문: https://jestjs.io/docs/en/mock-functions버전: Jest 23.6날짜: 2018-11-06※ 내용숙지가 안된 번역이 많아, 원문을 함께 둠Mock FunctionsMock functions make it easy to test the links between code by erasing the actual implementation of a function, capturing calls to the function (and the parameters passed in those calls), capturing instances of constructor functions when instantiated with new, and allowing test-time con..
Tool/jest
2018. 11. 5. 06:31