fix: add missing pactAffinity prestige upgrade to PRESTIGE_DEF
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m18s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m18s
This commit is contained in:
@@ -28,9 +28,9 @@ describe('Tab barrel export', () => {
|
||||
// ─── Test: Prestige upgrade definitions ────────────────────────────────────────
|
||||
|
||||
describe('Prestige upgrade definitions', () => {
|
||||
it('has exactly 15 prestige upgrades', async () => {
|
||||
it('has exactly 16 prestige upgrades', async () => {
|
||||
const { PRESTIGE_DEF } = await import('@/lib/game/constants/prestige');
|
||||
expect(Object.keys(PRESTIGE_DEF).length).toBe(15);
|
||||
expect(Object.keys(PRESTIGE_DEF).length).toBe(16);
|
||||
});
|
||||
|
||||
it('all upgrades have required fields', async () => {
|
||||
@@ -43,13 +43,14 @@ describe('Prestige upgrade definitions', () => {
|
||||
}
|
||||
});
|
||||
|
||||
it('all 15 expected upgrade IDs are present', async () => {
|
||||
it('all 16 expected upgrade IDs are present', async () => {
|
||||
const { PRESTIGE_DEF } = await import('@/lib/game/constants/prestige');
|
||||
const expectedIds = [
|
||||
'manaWell', 'manaFlow', 'insightAmp', 'spireKey',
|
||||
'temporalEcho', 'steadyHand', 'ancientKnowledge', 'elementalAttune',
|
||||
'spellMemory', 'guardianPact', 'quickStart', 'elemStart',
|
||||
'unlockedManaTypeCapacity', 'pactBinding', 'pactInterferenceMitigation',
|
||||
'pactAffinity',
|
||||
];
|
||||
for (const id of expectedIds) {
|
||||
expect(PRESTIGE_DEF[id]).toBeDefined();
|
||||
|
||||
Reference in New Issue
Block a user