Skip to content

Commit

Permalink
feat: add test for fetchByCountry
Browse files Browse the repository at this point in the history
  • Loading branch information
Adailton Nascimento committed Feb 22, 2024
1 parent aa86c4c commit ba9e25b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/movies/flixhq.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ test('returns a filled object of streaming sources', async () => {
const episodeSources = await flixhq.fetchEpisodeSources('1167571', 'tv/watch-vincenzo-67955');
expect(episodeSources.sources).not.toEqual([]);
});

test('returns a filled object of movies/tv data by country', async () => {
const data = await flixhq.fetchByCountry('KR');
expect(data).not.toEqual([]);
});

0 comments on commit ba9e25b

Please sign in to comment.