Skip to content

Commit

Permalink
🪲 Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasGilg committed Mar 20, 2024
1 parent 81b0c3e commit ec30635
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/locales/de-backend.json5
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
},
*/

// Old Parameter Names
// New Parameter Names
RecoveredPerInfectedNoSymptoms: {
symbol: '\\mu_C^R',
description: 'Anteil der nicht symptomatischen Fälle',
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/__tests__/store/UserPreferenceSlice.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ describe('DataSelectionSlice', () => {
{color: 'rgb(255,255,255)', value: 1},
],
},
selectedTab: '1',
};

test('Initial State', () => {
Expand All @@ -33,6 +34,7 @@ describe('DataSelectionSlice', () => {
};
expect(reducer(initialState, selectHeatmapLegend({legend: legend}))).toEqual({
selectedHeatmap: legend,
selectedTab: '1',
});
});
});

0 comments on commit ec30635

Please sign in to comment.