当前分类:ts-jest

reactjs - 运行玩笑测试时,覆盖失败并出现意外 token

typescript - 在 Jest 中,如何模拟具有依赖项的 TypeScript 类?

nestjs - 带有 NestJS 和异步功能的 Jest

reactjs - 导入 react 图时,Jest 失败并显示 'self is not defined'

react 原生,开 Jest ,ts-jest : ReferenceError: React is not defined

javascript - 从 JS 迁移到 TS,Jest 看不到 "globals"

jestjs - 如何使用 jest 测试 HttpService.Post 调用

typescript - 如何在 Jest 的 globalSetup 函数中使用模块导入 (@) 和 TypeScript?

jestjs - 如何使用 jest 和 sequelize-typescript 对 sequelize 数据库调用进行单元测试

typescript - 使用 jest 模拟 AWS.DynamoDB.DocumentClient 的构造函数

typescript - 当测试/** 未包含在 tsconfig 中时,Vscode TS 语言功能不可用

jasmine - 如何修复类型 'AsymmetricMatcher<any>' 不能分配给类型 '() => void' 。在 Jasmine /开 Jest

typescript - 模拟 AWS 服务和 Lambda 最佳实践

node.js - NestJS Jest 找不到具有绝对路径的模块

jestjs - 如何在异步 Jest 测试中传入 done() 参数。每个案例

typescript - "SyntaxError: Cannot use import statement outside a module"使用带有 lit-html 的 typescript 编写测试时

typescript - Visual Studio代码无法正确踩入TypeScript代码

reactjs - 如何使用 Typescript 将 jest.spyOn 与 React 函数组件一起使用

typescript - Jest 和 typescript : VS Code can't find names

jestjs - 为所有测试配置一次开 Jest 超时

热门标签: