From 130446ab74cd39ed97eec5d2db39f51f21c19887 Mon Sep 17 00:00:00 2001 From: NotJayden Date: Tue, 8 Jun 2021 16:36:36 +0800 Subject: [PATCH] use boss generic --- __tests__/hiscores.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/__tests__/hiscores.test.ts b/__tests__/hiscores.test.ts index 88e13c0..df0fe44 100644 --- a/__tests__/hiscores.test.ts +++ b/__tests__/hiscores.test.ts @@ -11,7 +11,8 @@ import { getPlayerTableURL, getSkillPageURL, getStatsURL, - BOSSES + BOSSES, + Boss } from '../src/index'; const B0ATY_NAME = 'B0ATY'; @@ -489,7 +490,7 @@ test('Get stats by game mode seasonal (omit TOB: Hard Mode from bosses)', async const filteredBosses = BOSSES.filter(boss => boss !== 'theatreOfBloodHardMode'); expect(bossKeys).toStrictEqual(filteredBosses); - expect(bossKeys).not.toContain('theatreOfBloodHardMode'); + expect(bossKeys).not.toContain('theatreOfBloodHardMode'); expect.assertions(2); });