alleyinteractive / alleyinteractive/create-wordpress-plugin

PhpStorm complaining when writing test with TypeScript

Aperta
#435 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
PHP
Stelle
35
Fork
2
Merge medio
1g 11h
PR unite (30g)
3

Descrizione

### Description

See image below showing the describe function highlighted in red. The IDE is asking me to install the types. Can we add it by default as an enhancement please. One less thing to think about.
![Image](https://github.com/user-attachments/assets/941abc30-d2f4-4283-a992-958c1da83372)

Also need to update tsconfig but we don't enforce RTL testing library to maybe optional? https://github.com/testing-library/jest-dom/issues/546#issuecomment-1800436478

### Use Case

As I consumer of this template I want it to work out the box without needing further configuration for necessary features like testing with TypeScript.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.