From ba9e25b05c84a8637452789460ae8f2bbd4c4772 Mon Sep 17 00:00:00 2001 From: Adailton Nascimento Date: Thu, 22 Feb 2024 18:15:49 -0300 Subject: [PATCH] feat: add test for fetchByCountry --- test/movies/flixhq.test.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/movies/flixhq.test.ts b/test/movies/flixhq.test.ts index c8255d4d3..6c63269ff 100644 --- a/test/movies/flixhq.test.ts +++ b/test/movies/flixhq.test.ts @@ -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([]); +});