بنقرة واحدة
test-workflow
Running and writing tests for the project (vitest, node env, globals)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Running and writing tests for the project (vitest, node env, globals)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Writing and running Playwright E2E tests for the web app
Modifying or adding damage calculation formulas (damageFormula.ts + damageCalculator.ts)
Adding passive skill / inner way code changes (modifier engine, skill context, types, not data)
Adding new stats to the game (constants.ts + types.ts + gear/OCR/tune files)
Editing game data through admin panel (skills, passives, inner ways, martial arts, rotations)
Working with gear tune features (tune variants, success rate, tune history in optimizer + UI)
| name | test-workflow |
| description | Running and writing tests for the project (vitest, node env, globals) |
Use when running or writing tests.
pnpm test # Run all tests
pnpm test -- tests/someFile.spec.ts # Single test file (--run)
| File | Description |
|---|---|
tests/tuneAwareOptimize.spec.ts | Tune + swap (26 tests) |
tests/gearDedup.spec.ts | Result dedup (7 tests) |
tests/levelSettings.spec.ts | Level/boss settings (8 tests) |
tests/rules.spec.ts | Gear rules (5 tests) |
tests/formula.spec.ts | Formula unit (5 tests) |
tests/damageConsistency.spec.ts | Damage consistency (3 tests) |
tests/gearAggregate.spec.ts | Gear aggregation (2 tests) |
tests/skillDamage.spec.ts | Skill damage (2 tests) |
tests/swapDebugTest.spec.ts | Swap integration (2 tests) |
tests/damage.spec.ts | Damage integration (1 test) |
tests/gearBeamSearch.spec.ts | Beam search (60s timeout) |
@/ path aliasdescribe, it, expect)makeGear() helper for test gear