
Linuxeden 开源社区 --
Enzyme 3.1.0 已发布,Enzyme 来自 airbnb 公司,是一个用于 React 的 JavaScript 测试工具,方便你判断、操纵和历遍 React Components 输出。Enzyme 的 API 通过模仿 jQuery 的 API ,使得 DOM 操作和历遍很灵活、直观。Enzyme 兼容所有的主要测试运行器和判断库,文档和例子使用 mocha 和 chai。
更新内容:
New Stuff
- Added hostNodes method to ReactWrapper (#1179)
修复
- Add an npmignore file to all packagestle (#1204)
- Fix node resolving in React 16 adapter (#100)
- upgrade to rst-selector-parser@^2.2.2 (#1146)
文档
- Symlink readme to all packages (#1205)
- fix some typos (#1165)
- ES5 setup file correction (#1194)
- updated component name being used in example (#1180)
- Fixing a few typos… (#1171)
- Fix typo (#1142)
下载地址:
转自 http://ift.tt/2y19d3U
The post Enzyme 3.1.0 发布,JavaScript 测试工具 appeared first on Linuxeden开源社区.
http://ift.tt/2xipg9i
没有评论:
发表评论