Skip to main content

wrdn-effect-vitest-tests

Keep tests deterministic and Effect-aware. Use when lint flags direct vitest imports or conditional assertions inside tests.

소스 정보

저장소
UsefulSoftwareCo/executor
최근 소스 활동
2026년 5월 5일 23:06
감지된 SKILL.md 언어
영어
스타
4,150
포크
364

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
wrdn-effect-vitest-tests
description
Keep tests deterministic and Effect-aware. Use when lint flags direct vitest imports or conditional assertions inside tests.
allowed-tools
Read Grep Glob Bash
Use `@effect/vitest` for tests in this repo. ## Fix Shape - Import `describe`, `it`, `expect`, and helpers from `@effect/vitest`. - Import utility helpers from `@effect/vitest/utils` when needed. - Do not import from raw `vitest` except in config or tooling files. - Do not put `expect(...)` behind `if`, ternary, logical, or switch branches. - Split conditional behavior into separate tests, or assert the branch condition and expected value explicitly. ## Bad ```ts if (result.ok) { expect(result.value).toBe("x"); } ``` ## Good ```ts expect(result).toEqual({ ok: true, value: "x" }); ```
GitHub에서 보기