Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion apps/customer-portal/webapp/src/constants/apiConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export const ApiQueryKeys = {
PRODUCT_VERSIONS_SEARCH: "product-versions-search",
DEPLOYMENT_PRODUCTS: "deployment-products",
TIME_TRACKING_STATS: "time-tracking-stats",
RECOMMENDED_UPDATE_LEVELS: "recommended-update-levels",
PRODUCT_UPDATE_LEVELS: "product-update-levels",
PRODUCT_VULNERABILITY: "product-vulnerability",
PRODUCT_VULNERABILITIES_SEARCH: "product-vulnerabilities-search",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ import { describe, it, expect, vi } from "vitest";
import UpdateHistoryTab from "@features/project-details/components/deployments/UpdateHistoryTab";
import type { ProductUpdate } from "@features/project-details/types/products";

vi.mock("@features/updates/api/useGetRecommendedUpdateLevels", () => ({
useGetRecommendedUpdateLevels: () => ({
data: [],
isLoading: false,
}),
}));

vi.mock("@features/updates/api/usePostUpdateLevelsSearch", () => ({
usePostUpdateLevelsSearch: () => ({
data: null,
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ export const UPDATES_PAGE_TABS = [
{ id: UpdatesPageTabId.All, label: "All Updates" },
];

export const UPDATES_RECOMMENDED_LEVELS_LOAD_ERROR =
"Could not load recommended update levels.";

export const ALL_UPDATES_TAB_INITIAL_FILTER: AllUpdatesTabFilterState = {
productName: "",
productVersion: "",
Expand Down