swagger-api/swagger-ui

Migrate 3 Mocha+Enzyme test files to Jest

Open

#6.486 geöffnet am 7. Okt. 2020

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (8.801 Forks)batch import
Hacktoberfesttype: feature

Repository-Metriken

Stars
 (25.447 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 20h 34m) (14 gemergte PRs in 30 T)

Beschreibung

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