当前分类:babel-jest

reactjs - 使用 Jest 时如何模拟 npm uniqid 进行 react 单元测试?

jestjs - 如何使用 Vanilla JS 运行 Jest 测试用例?

react-native - jest.mock() 不模拟 Babel 7 和 React-Native 0.56 中的模块

reactjs - enzyme 无法识别 lodash.flowright

javascript - jest.doMock 和 JSON 导入模拟

reactjs - 使用 Jest 测试 React 应用程序 : Unexpected token

javascript - 运行 Jest 测试时出现意外的 token 导入错误

javascript - 在 jest.mock(moduleName,factory) 工厂函数中模拟多个命名导出

typescript - Vue/Typescript/Jest - Jest 单元测试语法错误 : Unexpected token import

reactjs - 单元测试 - 使用 Jest 和 Enzyme 在 React 中链接

react-native - 如何配置 Jest 以与 Expo SDK 32 配合使用

javascript - 使用最新版本的 d3-path 配置 jest

javascript - 使用 Quasar-Framework 0.15 进行 Jest 单元测试配置

reactjs - 所需的 babel-jest 依赖

reactjs - Babel 配置错误 : Support for the experimental syntax 'jsx' isn't currently enabled

reactjs - 类型错误 : Failed to load plugin 'jest' declared in '.eslintrc' : Class extends value undefined is not a constructor or null

reactjs - 使用 Jest 进行测试时无法找到 imports-loader 的模块问题

typescript - react-scripts 从 3.4 更新到 4.0 导致 Jest 版本错误

javascript - 意外 token ,在 NodeJS Jest 测试中导入 JSON 时预期为 ";"

unit-testing - 在 "TypeError: create is not a function"中使用 Jest 模拟 (Zustand) 函数模拟

热门标签: