alleyinteractive / alleyinteractive/create-wordpress-plugin

PhpStorm complaining when writing test with TypeScript

未关闭
#435 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
PHP
星标
35
派生
2
平均合并
1 天 11 小时
30 天内合并 PR
3

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。