红联Linux门户
Linux帮助

Jest 18.1.0发布,JavaScript单元测试工具

发布时间:2016-12-31 09:15:45来源:红联作者:baihuo
Jest 18.1.0 发布了,Jest 是 Facebook 开源的无痛 JavaScript 测试工具。Jest 默认使用 Jasmine assertions,模块化,可扩展、可配置。Jest 也可以捕获 React 或其他可序列化值的快照,以便快速编写测试,并提供无缝的更新体验。

更新内容:

Fixed console.log and fake timer behavior in node 7.3

Updated istanbul-api

Updated jest-diff equality error message

Disabled arrow keys when entering a pattern in watch mode to prevent broken behavior。Will be improved in a future release。

Moved asymmetric matchers and equality functionality from Jasmine into jest-matchers

Removed jasmine and jest-snapshot dependency from jest-matchers

Removed unused global context variable

Show a better error message if the config is invalid JSON

Highlight trailing whitespace in assertion diffs and snapshots

Jest now uses micromatch instead of minimatch

Added -h as alias for --help

下载地址:https://github.com/facebook/jest/archive/v18.1.0.zip

来自:开源中国社区
文章评论

共有 0 条评论