test: add combat-actions and UI component tests — 40 new tests covering processCombatTick, Card, Button, Badge
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m24s

This commit is contained in:
2026-05-25 20:44:09 +02:00
parent 25ba565467
commit fdc636faaa
7 changed files with 430 additions and 18 deletions
+4 -16
View File
@@ -1,6 +1,6 @@
{
"_meta": {
"generated": "2026-05-25T16:26:35.898Z",
"generated": "2026-05-25T18:18:43.369Z",
"description": "Import dependency graph for src/lib/game. Keys are files, values are arrays of files they import.",
"usage": "To find what a file affects, search for its path in the VALUES. To find what a file depends on, look at its KEY entry."
},
@@ -143,7 +143,6 @@
"types.ts"
],
"crafting-equipment.ts": [
"crafting-utils.ts",
"data/crafting-recipes.ts",
"data/equipment/index.ts",
"types.ts",
@@ -168,9 +167,7 @@
"data/attunements.ts": [
"types.ts"
],
"data/crafting-recipes.ts": [
"data/equipment/types.ts"
],
"data/crafting-recipes.ts": [],
"data/disciplines/base.ts": [
"types/disciplines.ts"
],
@@ -226,8 +223,7 @@
"data/equipment/index.ts"
],
"data/enchantments/defense-effects.ts": [
"data/enchantment-types.ts",
"data/equipment/index.ts"
"data/enchantment-types.ts"
],
"data/enchantments/elemental-effects.ts": [
"data/enchantment-types.ts",
@@ -439,8 +435,7 @@
"effects/discipline-effects.ts",
"stores/combat-state.types.ts",
"types.ts",
"utils/index.ts",
"utils/result.ts"
"utils/index.ts"
],
"stores/combat-state.types.ts": [
"types.ts"
@@ -448,7 +443,6 @@
"stores/combatStore.ts": [
"stores/combat-actions.ts",
"stores/combat-state.types.ts",
"stores/prestigeStore.ts",
"types.ts",
"utils/activity-log.ts",
"utils/index.ts",
@@ -471,7 +465,6 @@
"stores/craftingStore.types.ts",
"stores/manaStore.ts",
"stores/uiStore.ts",
"types.ts",
"types/equipmentSlot.ts",
"utils/result.ts",
"utils/safe-persist.ts"
@@ -499,7 +492,6 @@
"stores/gameActions.ts": [
"effects/discipline-effects.ts",
"stores/combatStore.ts",
"stores/discipline-slice.ts",
"stores/gameStore.ts",
"stores/manaStore.ts",
"stores/prestigeStore.ts",
@@ -510,20 +502,16 @@
"constants.ts",
"effects.ts",
"effects/discipline-effects.ts",
"stores/combatStore.ts",
"stores/craftingStore.ts",
"stores/discipline-slice.ts",
"stores/gameStore.ts",
"stores/manaStore.ts",
"stores/prestigeStore.ts",
"stores/uiStore.ts",
"utils/index.ts"
],
"stores/gameLoopActions.ts": [
"constants.ts",
"effects/discipline-effects.ts",
"stores/combatStore.ts",
"stores/discipline-slice.ts",
"stores/gameStore.ts",
"stores/manaStore.ts",
"stores/prestigeStore.ts",