alleyinteractive / alleyinteractive/create-wordpress-plugin

PhpStorm complaining when writing test with TypeScript

Open
#435 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
35
Forks
2
Avg merge
1d 11h
Merged PRs (30d)
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.