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