swagger-api/swagger-ui

Migrate 3 Mocha+Enzyme test files to Jest

Open

#6486 aperta il 7 ott 2020

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)JavaScript (8801 fork)batch import
Hacktoberfesttype: feature

Metriche repository

Star
 (25.447 star)
Metriche merge PR
 (Merge medio 20h 34m) (14 PR mergiate in 30 g)

Descrizione

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

Guida contributor