1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-04 13:25:26 +02:00

feat(helm): show manifest previews/changes when installing and upgrading a helm chart [r8s-405] (#898)

This commit is contained in:
Ali 2025-07-23 10:52:58 +12:00 committed by GitHub
parent a4cff13531
commit 60bc04bc33
41 changed files with 763 additions and 157 deletions

View file

@ -36,14 +36,15 @@ vi.mock('@/portainer/services/notifications', () => ({
),
}));
vi.mock('../queries/useUpdateHelmReleaseMutation', () => ({
vi.mock('../helmReleaseQueries/useUpdateHelmReleaseMutation', () => ({
useUpdateHelmReleaseMutation: vi.fn(() => ({
mutateAsync: vi.fn((...args) => mockMutate(...args)),
isLoading: false,
})),
updateHelmRelease: vi.fn(() => Promise.resolve({})),
}));
vi.mock('../queries/useHelmRepoVersions', () => ({
vi.mock('../helmChartSourceQueries/useHelmRepoVersions', () => ({
useHelmRepoVersions: vi.fn(() => ({
data: [
{ Version: '1.0.0', AppVersion: '1.0.0' },