swagger-api / swagger-api/swagger-ui

Migrate 3 Mocha+Enzyme test files to Jest

Open
#6,486 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Hacktoberfest type: feature
Dominant language
JavaScript
Stars
29k
Forks
9.3k
Avg merge
2d 23h
Merged PRs (30d)
25

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the three remaining Mocha-based Enzyme test files and review the existing Jest configuration and related issue #6487. The work is done when all three files run under Jest with Enzyme 3 and no longer depend on Mocha.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.