swagger-api/swagger-ui

Migrate 3 Mocha+Enzyme test files to Jest

Open

#6,486 创建于 2020年10月7日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)JavaScript (8,801 fork)batch import
Hacktoberfesttype: feature

仓库指标

Star
 (25,447 star)
PR 合并指标
 (平均合并 20小时 34分钟) (30 天内合并 14 个 PR)

描述

Content & configuration

Is your feature request related to a problem?

The 3 remaining Mocha-based test files are all related to Enzyme, and currently fail on Jest with both enzyme@2 and enzyme@3.

Reason: Consolidate testing framework.

Describe the solution you'd like

The 3 remaining Mocha-based test files should be refactored for Jest+Enzyme. Ideally, the replacement test files should be in Enzyme 3.

Describe alternatives you've considered

May also consider using Jest + Testing Library, instead of Jest + Enyzme

Additional context

related to #6487

贡献者指南