Jest 是依赖Node.js 的。 ... 在项目根目录行执行 yarn jest 测试用例文件路径 或 npm run test 测试 ... 我们有个工具函数文件 utils.ts ,内容如下:
確定! 回上一頁