使用 yarn 安装Jest:. yarn add --dev jest. 或使用 npm 安装:. npm install --save-dev jest. Hello World 首次测试. 需要创建三个文件. testFirst.js 测试目标.
確定! 回上一頁