书栈网 · BookStack 本次搜索耗时 0.020 秒,为您找到 1291 个相关结果.
  • 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...
  • 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...
  • 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...
  • 测试概览

    测试概览 权衡 推荐的工具 了解更多 测试概览 你可以用像测试其他 JavaScript 代码类似的方式测试 React 组件。 现在有许多种测试 React 组件的方法。大体上可以被分为两类: 渲染组件树 在一个简化的测试环境中渲染组件树并对它们的输出做断言检查。 运行完整应用 在一个真实的浏览器环境中运行整个应用(也被称为“端到端(...
  • 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...
  • An Async Example

    .resolves async/await Error handling .rejects First, enable Babel support in Jest as documented in the Getting Started guide. Let's implement a simple module that fetches us...
  • 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...
  • Integrations

    Promises AWS Lambda Browser Library GeoJSON MongoDB Driver Deprecation Warnings Testing with Jest SSL Connections