combat
This commit is contained in:
@@ -162,7 +162,8 @@ describe('CombatPageComponent', () => {
|
||||
expect(sprite?.classList.contains('sprite--hit')).toBe(true);
|
||||
expect(monster?.classList.contains('sprite--lunge')).toBe(true);
|
||||
expect(monster?.classList.contains('sprite--flinch')).toBe(false);
|
||||
expect(stage?.classList.contains('combat__stage--shaken')).toBe(true);
|
||||
// The stage jolt is wired up but no longer fires on an ordinary hit.
|
||||
expect(stage?.classList.contains('combat__stage--shaken')).toBe(false);
|
||||
expect(element.textContent).toContain('90 / 100');
|
||||
expect(countOccurrences(element.textContent, monsterHitLine)).toBe(2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user