diff --git a/apps/api/src/database/seeds/vertical-slice.seed.ts b/apps/api/src/database/seeds/vertical-slice.seed.ts index 64afb79..d0ca3b8 100644 --- a/apps/api/src/database/seeds/vertical-slice.seed.ts +++ b/apps/api/src/database/seeds/vertical-slice.seed.ts @@ -20,8 +20,7 @@ export async function seedVisibleVerticalSlice( const connectionRepository = dataSource.getRepository(LocationConnection); const characterRepository = dataSource.getRepository(Character); const monsterRepository = dataSource.getRepository(MonsterDefinition); - const locationMonsterRepository = - dataSource.getRepository(LocationMonster); + const locationMonsterRepository = dataSource.getRepository(LocationMonster); const locations = [ { diff --git a/apps/api/src/hunting/danger-rating.spec.ts b/apps/api/src/hunting/danger-rating.spec.ts index 062eb3f..4d8b0d3 100644 --- a/apps/api/src/hunting/danger-rating.spec.ts +++ b/apps/api/src/hunting/danger-rating.spec.ts @@ -21,9 +21,7 @@ describe('calculateDangerRating', () => { // ratio = 61 / 44 = 1.3863636... -> not < 1.0, and < 1.7 -> STRONG const monster = { attack: 9, armor: 5, hp: 75 }; - expect(calculateDangerRating(CHARACTER, monster)).toBe( - DangerRating.STRONG, - ); + expect(calculateDangerRating(CHARACTER, monster)).toBe(DangerRating.STRONG); }); it('rates a monster just below the WEAK/MATCH boundary as WEAK', () => { @@ -61,9 +59,7 @@ describe('calculateDangerRating', () => { // (One power lower, 101, gives ratio 101/44 = 2.2954..., which is VERY_DANGEROUS.) const monster = { attack: 20, armor: 10, hp: 10 }; - expect(calculateDangerRating(CHARACTER, monster)).toBe( - DangerRating.DEADLY, - ); + expect(calculateDangerRating(CHARACTER, monster)).toBe(DangerRating.DEADLY); }); });