Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Framework wrappers and DOM testing library

Aperta
#1,493 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

@jacklaurencegaray ci sta già lavorando.

Dal 19/8/2025.

  • #1495 di @jacklaurencegaray — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
38/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript, react
Ambito
documentation

Direzione di ricerca

Confronta le indicazioni sull'installazione nella pagina di installazione di user-event e nella pagina introduttiva di React Testing Library, inclusi i relativi link ai wrapper dei framework. Determina quali indicazioni sulla dipendenza @testing-library/dom sono coerenti, quindi aggiorna la documentazione in conflitto in modo che entrambe le pagine forniscano la stessa risposta chiara.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Describe the bug Docs seem confusing or conflicting itself

To Reproduce Steps to reproduce the behavior:

Go to this page: https://testing-library.com/docs/user-event/install/

It says:

If you use one of the framework wrappers, it is important that @testing-library/dom is resolved to the same installation required by the framework wrapper of your choice.
Usually this means that if you use one of the framework wrappers, you should not add @testing-library/dom to your project dependencies.

But going to one of the framework wrappers: https://testing-library.com/docs/react-testing-library/intro

It says:

To get started with React Testing Library, you'll need to install it together with its peerDependency @testing-library/dom:

So, should we include @testing-library/dom or not?

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

Lingua principale
JavaScript
Stelle
479
Fork
738
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di testing-library/testing-library-docs

Tutte le issue di testing-library/testing-library-docs

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.