Fix broken test
This commit is contained in:
@@ -59,7 +59,7 @@ describe('CombatLogic', () => {
|
|||||||
|
|
||||||
const result = traceProjectile(mockWorld, start, end, mockEntityManager);
|
const result = traceProjectile(mockWorld, start, end, mockEntityManager);
|
||||||
|
|
||||||
expect(result.blockedPos).toEqual({ x: 3, y: 0 });
|
expect(result.blockedPos).toEqual({ x: 2, y: 0 });
|
||||||
expect(result.hitActorId).toBeUndefined();
|
expect(result.hitActorId).toBeUndefined();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user