Initial commit: Text Adventure Game
Features: - Combat system with AP/EP hit calculation and three-layer defense - Auto-combat/farming mode - Item system with stacking support - Skill system with levels, milestones, and parent skill sync - Shop system with dynamic pricing - Inventory management with bulk selling - Event system - Game loop with offline earnings - Save/Load system Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
17
jest.config.js
Normal file
17
jest.config.js
Normal file
@@ -0,0 +1,17 @@
|
||||
export default {
|
||||
testEnvironment: 'node',
|
||||
transform: {},
|
||||
moduleNameMapper: {
|
||||
'^@/(.*)$': '<rootDir>/$1',
|
||||
'^@/components$': '<rootDir>/components',
|
||||
'^@/config$': '<rootDir>/config',
|
||||
'^@/store$': '<rootDir>/store',
|
||||
'^@/utils$': '<rootDir>/utils'
|
||||
},
|
||||
testMatch: ['**/tests/**/*.{spec,test}.{js,mjs}'],
|
||||
collectCoverageFrom: [
|
||||
'store/**/*.js',
|
||||
'utils/**/*.js',
|
||||
'!**/node_modules/**'
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user