fix(web): sweep every remaining fixture off level/experience/requiredLevel
Task 17 (final task) of Renown & Reputation Foundation. Fixes the last 3 compile errors blocking the web suite (app.spec.ts, world.store.spec.ts) by aligning CharacterResponse fixtures to the real renown-only shape, and removes the two remaining dead 'experience' reward-preview leftovers (current-location fixture entry, location-icon glyph) now that the API no longer seeds them. Full web suite: 24 files / 228 tests, all green, for the first time this entire slice. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -141,8 +141,7 @@ describe('App', () => {
|
||||
character.set({
|
||||
id: 'character-id',
|
||||
name: 'Mara Ashfall',
|
||||
level: 7,
|
||||
experience: 320,
|
||||
renown: 7,
|
||||
silver: 150,
|
||||
currentHp: 52,
|
||||
maxHp: 80,
|
||||
@@ -155,10 +154,9 @@ describe('App', () => {
|
||||
expect(fixture.nativeElement.querySelector('app-top-bar')?.textContent).toContain(
|
||||
'Mara Ashfall',
|
||||
);
|
||||
expect(fixture.nativeElement.querySelector('app-top-bar')?.textContent).toContain('Stufe 7');
|
||||
expect(fixture.nativeElement.querySelector('app-top-bar')?.textContent).toContain('Ansehen 7');
|
||||
expect(fixture.nativeElement.querySelector('app-top-bar')?.textContent).toContain('52 / 80');
|
||||
expect(fixture.nativeElement.querySelector('app-top-bar')?.textContent).toContain('150');
|
||||
expect(fixture.nativeElement.querySelector('app-top-bar')?.textContent).toContain('320');
|
||||
});
|
||||
|
||||
it('lands root and unknown routes on the place the character is standing in', () => {
|
||||
|
||||
Reference in New Issue
Block a user