mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-13 20:56:19 -08:00
test(m3u): type empty hidden-group arrays in the route session spec
The CI spec typecheck (apps/web/tsconfig.spec.json) rejected `[]` inferred as never[] inside the PlaylistMeta and Playlist casts with TS2352. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9feff291de
commit
99e0fede8a
1 file changed
+2
-2
+2
-2
@@ -257,7 +257,7 @@ describe('M3uWorkspaceRouteSession', () => {
|
||||
PlaylistActions.updatePlaylistMeta({
|
||||
playlist: {
|
||||
_id: PLAYLIST_ID,
|
||||
hiddenGroupTitles: [],
|
||||
hiddenGroupTitles: [] as string[],
|
||||
} as PlaylistMeta,
|
||||
persist: false,
|
||||
})
|
||||
@@ -280,7 +280,7 @@ describe('M3uWorkspaceRouteSession', () => {
|
||||
} as PlaylistMeta,
|
||||
});
|
||||
response.next({
|
||||
hiddenGroupTitles: [],
|
||||
hiddenGroupTitles: [] as string[],
|
||||
playlist: { items: [PRIMARY_CHANNEL] },
|
||||
} as Playlist);
|
||||
response.complete();
|
||||
|
||||
Reference in new issue
Block a user