mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 01:56:16 -08:00
feat: enhance playlist management by adding optional title input and updating URL submission logic
This commit is contained in:
1 parent
5fdd999c7e
commit
76e4e1b032
12 files changed
+424
-122
No files matched your search
+11
@@ -373,6 +373,17 @@ describe('WorkspaceShellFacade', () => {
|
||||
);
|
||||
});
|
||||
|
||||
it('applies q to Xtream category search on vod routes', () => {
|
||||
const xtreamStore = TestBed.inject(XtreamStore) as unknown as MockXtreamStore;
|
||||
|
||||
facade.currentUrl.set('/workspace/xtreams/pl-1/vod?q=neo');
|
||||
(facade as { syncSearchFromRoute: () => void }).syncSearchFromRoute();
|
||||
TestBed.flushEffects();
|
||||
|
||||
expect(xtreamStore.setCategorySearchTerm).toHaveBeenCalledWith('neo');
|
||||
expect(xtreamStore.setSearchTerm).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('enables local-filter search on playlist favorites routes', () => {
|
||||
facade.currentUrl.set('/workspace/playlists/pl-1/favorites?q=news');
|
||||
(facade as { syncSearchFromRoute: () => void }).syncSearchFromRoute();
|
||||
|
||||
Reference in new issue
Block a user