书栈网 · BookStack 本次搜索耗时 0.030 秒,为您找到 1291 个相关结果.
  • Globals

    方法 参考 afterAll(fn, timeout) afterEach(fn, timeout) beforeAll(fn, timeout) beforeEach(fn, timeout) describe(name, fn) describe.each(table)(name, fn, timeout) 1. describe.each(...
  • 全局设定

    全局设定 方法 参考 afterAll(fn, timeout) afterEach(fn, timeout) beforeAll(fn, timeout) beforeEach(fn, timeout) describe(name, fn) describe.each(table)(name, fn, timeout) 1. des...
  • Guides

    Snapshot Testing An Async Example Timer Mocks Manual Mocks ES6 Class Mocks Bypassing module mocks Using with webpack Using with puppeteer Using with MongoDB Using with Dyn...
  • 合成组件

    组装复合组件 任务列表 获取设置 建立状态 数据要求和props 自动化测试 用Jest进行单元测试 组装复合组件 上一章我们构建了第一个组件; 本章 我们学习 扩展构建TaskList的任务列表. 让我们将 组件组合 在一起,看看在引入更多复杂性时会发生什么. 任务列表 Taskbox 通过将 固定任务 置于默认任务之上 来强调 ...
  • Guides

    Snapshot Testing An Async Example Timer Mocks Manual Mocks ES6 Class Mocks Bypassing module mocks ECMAScript Modules Using with webpack Using with puppeteer Using with Mon...
  • Guides

    Snapshot Testing An Async Example Timer Mocks Manual Mocks ES6 Class Mocks Bypassing module mocks ECMAScript Modules Using with webpack Using with puppeteer Using with Mon...
  • Guides

    Snapshot Testing An Async Example Timer Mocks Manual Mocks ES6 Class Mocks Bypassing module mocks Using with webpack Using with puppeteer Using with MongoDB DOM Manipulati...
  • Environment Variables

    NODE_ENV JEST_WORKER_ID Jest sets the following environment variables: NODE_ENV Set to 'test' if it’s not already set to something else. JEST_WORKER_ID Each worker proc...
  • Guides

    Snapshot Testing An Async Example Timer Mocks Manual Mocks ES6 Class Mocks Bypassing module mocks Using with webpack Using with puppeteer Using with MongoDB Using with Dyn...
  • Guides

    Snapshot Testing An Async Example Timer Mocks Manual Mocks ES6 Class Mocks Bypassing module mocks Using with webpack Using with puppeteer Using with MongoDB Using with Dyn...