书栈网 · BookStack 本次搜索耗时 0.023 秒,为您找到 1288 个相关结果.
  • DOM Manipulation

    DOM Manipulation DOM Manipulation Another class of functions that is often considered difficult to test is code that directly manipulates the DOM. Let’s see how we can test the...
  • DOM Manipulation

    Another class of functions that is often considered difficult to test is code that directly manipulates the DOM. Let's see how we can test the following snippet of jQuery code tha...
  • Guides

    Snapshot Testing An Async Example Timer Mocks Manual Mocks Using with webpack Using with puppeteer DOM Manipulation Migrating to Jest Troubleshooting
  • 匹配器的使用

    匹配器的使用 常用的匹配器 真值 数字 字符串 数组和可迭代对象 例外 以及更多 匹配器的使用 Jest使用“匹配器”的机制让你可以使用各种方法进行测试 这篇文档将向你介绍一些常用的匹配器, 想要看到完整的列表,请查阅 expect API 的文档 。 常用的匹配器 最简单测试一个值的方法是使用精确匹配的方法。 test ( 'tw...
  • 匹配器的使用

    匹配器的使用 常用的匹配器 真值 数字 字符串 数组和可迭代对象 例外 以及更多 匹配器的使用 Jest使用“匹配器”的机制让你可以使用各种方法进行测试 这篇文档将向你介绍一些常用的匹配器, 想要看到完整的列表,请查阅 expect API 的文档 。 常用的匹配器 最简单测试一个值的方法是使用精确匹配的方法。 test ( 'tw...
  • 匹配器的使用

    匹配器的使用 常用的匹配器 真值 数字 字符串 数组和可迭代对象 例外 以及更多 匹配器的使用 Jest使用“匹配器”的机制让你可以使用各种方法进行测试 这篇文档将向你介绍一些常用的匹配器, 想要看到完整的列表,请查阅 expect API 的文档 。 常用的匹配器 最简单测试一个值的方法是使用精确匹配的方法。 test ( 'tw...
  • 匹配器的使用

    匹配器的使用 常用的匹配器 真值 数字 字符串 数组和可迭代对象 例外 以及更多 匹配器的使用 Jest使用“匹配器”的机制让你可以使用各种方法进行测试 这篇文档将向你介绍一些常用的匹配器, 想要看到完整的列表,请查阅 expect API 的文档 。 常用的匹配器 最简单测试一个值的方法是使用精确匹配的方法。 test ( 'tw...
  • DOM Manipulation

    DOM Manipulation DOM Manipulation Another class of functions that is often considered difficult to test is code that directly manipulates the DOM. Let’s see how we can test the...
  • An Async Example

    An Async Example .resolves async /await Error handling .rejects An Async Example First, enable Babel support in Jest as documented in the Getting Started guide. Let’s i...
  • DOM Manipulation

    Another class of functions that is often considered difficult to test is code that directly manipulates the DOM. Let's see how we can test the following snippet of jQuery code tha...