摘要:
When we test asynchronous, we use Axios to get the response. install the Axios npm i axios Cause we already config the babel for presets, so we can di 阅读全文
摘要:
Note: Please check the prev blog to see the jest configuration. calculator.js const plus = (a, b) => { return a + b } const subtract = (a, b) => { ret 阅读全文
摘要:
Jest is a delightful JavaScript Testing Framework with a focus on simplicity. It works with projects using: Babel, TypeScript, Node, React, Angular, V 阅读全文