当前分类:ts-jest

typescript - jest-mock-extended - 使用对象输入调用模拟 [Typescript]

typescript - 如何在 tsconfig.json 上启用 typeRoots 的 typescript/expressjs 应用程序上运行 jest

node.js - Jest .config.ts : "registerer.enabled is not a function" error when running jest from Github Actions

jestjs - 如何在某些条件检查之前退出 Jest 测试?

typescript - Jest (ESM) 在单元测试中从 React Native 加载文件时出现问题

node.js - 如何从特定文件夹运行 Jest 测试而忽略其他文件夹测试?

javascript - 自 Jest 26+ 以来如何兑现 promise

typescript - TS-Jest 无法解析 tsconfig 路径

react-native - 用玩笑 react 原生元素不起作用

node.js - 开 Jest - 语法错误 : Cannot use import statement outside a module with @nestjs/axios

node.js - 无法找到模块 - 使用 esm nodejs 应用程序开玩笑

reactjs - 运行 Next.js 构建时出现 Jest 引用错误 'describe' 未定义

Angular Jest 旁观者在测试另一个服务时模拟服务依赖性

angular - 用 jest 测试 Angular 组件给出了resolveComponentResources

node.js - 如果 tsConfig 目标为 ESNext、ES2021 或 ES2020,ts-jest 可选链接不起作用

angular - 如何让 jest 只对 src 文件夹 Angular 中的文件运行测试?

unit-testing - 如何使用 Jest 和 enzyme 测试正在使用其他微前端组件的一个微前端组件

jestjs - 避免有条件地调用 `expect` : jest testing error

node.js - 使用 Jest 测试异步函数抛出错误时获取 "function did not throw"

typescript - 为什么将 jest 升级到 29.5.0 会破坏我的模拟?

热门标签: