From 937d034fa2a5568daf661987d7e541b22aebefe1 Mon Sep 17 00:00:00 2001 From: svetlagasheva Date: Mon, 27 Apr 2020 18:43:59 +0300 Subject: [PATCH] test for selected season fixed --- tests/hooks.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hooks.spec.js b/tests/hooks.spec.js index 916402c56..7a68de98e 100644 --- a/tests/hooks.spec.js +++ b/tests/hooks.spec.js @@ -7,10 +7,10 @@ const videos = [{ 'season': 4 }, { 'season': 5 }, { 'season': 4 }, { 'season': 7 describe('hooks tests', () => { describe('useSelectableSeasons hook', () => { - it('match 4', async () => { + it('match 7', async () => { const { result } = renderHook(() => useSelectableSeasons(videos)); const [, selectedSeason] = result.current; - expect(selectedSeason).toBe(4); + expect(selectedSeason).toBe(7); }); it('match 5', async () => {