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
修复
Add an npmignore file to all packagestle
Fix node resolving in React 16 adapter
upgrade to rst-selector-parser@^2.2.2
文档
Symlink readme to all packages
fix some typos
ES5 setup file correction
updated component name being used in example
Fixing a few typos...
Fix typo
下载地址:https://github.com/airbnb/enzyme/archive/v3.1.0.zip
来自:开源中国社区

