当前分类:ts-jest

reactjs - 类型错误 : document. createElement 不是函数

reactjs - Jest/React/Mobx : TypeError mobxReact. 观察者不是函数

typescript - 在每个 Jest 测试中模拟不同的 TypeScript 常量

node.js - 使用 Supertest 进行测试时在 header 部分设置 Bearer Token

jestjs - 无法模拟 createQueryBuilder 函数 typeorm Nestjs Jest

javascript - 在 8.x 中使用 uuid 进行玩笑 spy On

javascript - 错误: Uncaught [TypeError: Cannot read property 'x' of undefined Jest react testing

javascript - Jest - 当测试失败时记录传递到测试内部调用的函数的参数

typescript - 如何解决 Testcafe 和 Jest 之间的类型冲突? ("Cannot redeclare block-scoped variable ' 测试'")

Typescript/如何预期固定日期?

asynchronous - 如何防止 Jest 同时运行异步测试?

reactjs - Expect(...).toBeInTheDocument 设置后不是函数

react-native - 模拟 i18n-js 中的 I18n 类,以便在 React Native 中使用 Expo 进行 Jest 测试

unit-testing - lambda 函数 : TypeError: stripe_1. 默认值不是构造函数上的模拟 Stripe 失败

typescript - 由于 s3key 哈希值更改,为 AWS CDK 编写的单元测试失败

Angular 14 + Jest - typescript_1.default.canHaveDecorators 不是函数

next.js - 是否可以测试 Next.js 13 API 路由处理程序?

angular - 如何在 Angular 组件的单元测试中提供 ControlContainer?

typescript - 如何在 Jest 中使用全局变量并通过 cmd 传递它

typescript - 用 ES6 和 Typescript 开 Jest

热门标签: