// Jest setup file - set up mocks before tests run const mockState = { extensionSettings: { debugMode: false, userStats: {}, trackerConfig: {}, quests: { main: '', optional: [] } }, FEATURE_FLAGS: { useNewInventory: false }, addDebugLog: () => {} }; const mockPersistence = { saveSettings: () => {} }; const mockInventoryParser = { extractInventory: () => null }; // We can't easily mock ESM imports in Jest without transform // Instead, we'll create mock files that Jest can use