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 摘要。