alleyinteractive / alleyinteractive/create-wordpress-plugin

PhpStorm complaining when writing test with TypeScript

Ouverte
#435 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
PHP
Étoiles
35
Forks
2
Merge moyen
1 j 11 h
PR mergées (30 j)
3

Description

### 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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.