mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
test for selected season fixed
This commit is contained in:
parent
2487133b78
commit
937d034fa2
1 changed files with 2 additions and 2 deletions
|
|
@ -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 () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue