angular / angular/angular-cli

Add support for Vitest VSCode Plugin and similar

未關閉
#31,734 7 則留言 118 個 reaction 已指派 0 人 在 GitHub 檢視
angular/build:unit-test area: @angular/build feature feature: under consideration
主要語言
TypeScript
星號
27k
分支
11.8k
平均合併
14 小時 23 分鐘
30 天內合併 PR
162

描述

### Command

test

### Description

As Angular does not provide a Vitest plugin, it can't expose a `vitest.config.ts` file to 3rd party tools such as IDEs.

This means that as of today, it is impossible to use Vitest VSCode Plugin, nor WallabyJS, nor WebStorm integration etc... unless users switch to Analog plugin https://analogjs.org/docs/features/testing/vitest

### Describe the solution you'd like

_No response_

### Describe alternatives you've considered

_No response_

貢獻指南

開啟貢獻指南

研究方向

從 `test` 命令開始,調查 Angular 目前如何向外部工具公開 Vitest 設定。使用 Vitest VSCode Plugin 重現這項限制,然後將其行為與 issue 中提到的 Analog plugin 進行比較。當該外掛程式和類似的整合能夠在不切換外掛程式的情況下發現 Angular 專案的 Vitest 設定時,即視為完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
angular, typescript, vscode
領域
testing, tooling
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
需要釐清
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。