当前分类:ts-jest

node.js - clearTimeout 测试不适用于 jest.useFakeTimers()

node.js - 在 express 应用程序中测试默认错误处理程序会导致超时

typescript - 如何模拟包含正斜杠的模块?

javascript - Jest with typescript in monorepo 不适用于根文件夹之外的依赖项

node.js - 在我的 Express.js Jest 测试中找不到内存泄漏

typescript - 如何使用当前的 ts-jest 获取覆盖图?

angular - 将 Angular Testing fakeAsync 与 jest it.each 一起使用

javascript - 如何在 Global Jest 设置中查找别名?

node.js - node + ts-jest + ESM,jest.mock 什么都不做

reactjs - 如何测试由在 useEffect 上触发的 SetTimeout 修改的组件样式?

reactjs - 当我尝试从开 Jest 测试中收集覆盖率时出现错误 "_genMapping.maybeAddMapping is not a function"

typescript - 缺少 TS-Jest 实用程序

javascript - 在 jest globalSetup 中创建连接时找不到 Typeorm 连接 "default"

javascript - ts-jest 无法解析 tsconfig 别名

javascript - 如何设置 Jest w/ESM 以识别 node_modules 中的非 cjs 模块

javascript - 运行测试时无法从 '@babel/runtime/helpers/interopRequireDefault' 找到模块 'node_modules/react-native/jest/setup.js'

javascript - Jest/ typescript : Mock class dependencies in Jest and Typescript

javascript - 将 Jest 升级到 v28 - 找不到错误测试环境 jest-environment-jsdom

jestjs - 无法使用 ts-jest 转换 node_modules 中的文件夹

node.js - 使用 supertest 在快速服务器上开 Jest 超时

热门标签: