mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-13 01:22:11 +00:00
test(ytmusic): Update applyFilter test to use a specific value
This commit is contained in:
@@ -364,7 +364,7 @@ describe('YouTube.js Tests', () => {
|
||||
});
|
||||
|
||||
test('Search#applyFilter', async () => {
|
||||
search = await search.applyFilter(search.filters[1]);
|
||||
search = await search.applyFilter('Songs');
|
||||
expect(search).toBeDefined();
|
||||
expect(search.contents).toBeDefined();
|
||||
expect(search.contents?.length).toBeGreaterThan(0);
|
||||
|
||||
Reference in New Issue
Block a user