Skip to main content

testing

Use when writing or modifying Vitest tests, `.vitest` setup, Anvil/Foundry or Rundler fixtures, per-package test config, or CI affected-test behavior.

来源信息

仓库
alchemyplatform/aa-sdk
最近来源活动
2026年6月2日 20:32
检测到的 SKILL.md 语言
英语
星标
323
Forks
235

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
4 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
testing
description
Use when writing or modifying Vitest tests, `.vitest` setup, Anvil/Foundry or Rundler fixtures, per-package test config, or CI affected-test behavior.
last_verified
2026-05-06T00:00:00.000Z
# Testing aa-sdk uses Vitest workspace projects with shared `.vitest` setup. CI runs affected package tests and a separate typecheck-only Vitest pass. ## Rules | Rule | When to read | | ----------------------------------------------- | ---------------------------------------------------------- | | [Vitest projects](rules/vitest-workspace.md) | Before changing tests or per-package Vitest config. | | [Anvil and Rundler](rules/anvil-and-rundler.md) | Before changing tests that depend on local chain fixtures. | | [Affected tests](rules/affected-tests.md) | Before choosing local verification for package changes. | ## Evidence - `vitest.config.ts` loads `.vitest` and `packages/*` through `test.projects`. - `.vitest/vitest.shared.ts` sets `~test`, global setup, timeouts, and thread pool. - `scripts/run-affected-tests.sh` uses Turborepo dry-run output to select Vitest projects.
在 GitHub 查看