Skip to content

Commit 55b7068

Browse files
committed
test(webview): avoid unreachable coverage branch
1 parent d5bd771 commit 55b7068

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

webview-ui/src/components/ui/hooks/useSelectedModel.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,5 @@ function getSelectedModel({
461461

462462
return { id, info: baseInfo }
463463
}
464-
default: {
465-
provider satisfies never
466-
throw new Error(`Unsupported provider: ${provider}`)
467-
}
468464
}
469465
}

0 commit comments

Comments
 (0)