Skip to content

insights: FE

Created by: unclejustin

In client/web/src/enterprise/insights/core/backend/gql-backend-handlers/create-insight.ts -> createInsight we have a switch statement with no default case. We should handle the case where insight.viewType is not one of the known cases.

Related PR https://github.com/sourcegraph/sourcegraph/pull/27910