Refactor tests to remove redundant settings mock data

This commit is contained in:
2025-07-06 01:32:02 +02:00
parent e5c34c25d7
commit 520f58435c
4 changed files with 1 additions and 54 deletions

View File

@@ -93,7 +93,6 @@ describe('WorkspaceSwitcher', () => {
vi.mocked(useWorkspace).mockReturnValue({
currentWorkspace: mockCurrentWorkspace,
workspaces: [],
settings: mockCurrentWorkspace,
updateSettings: vi.fn(),
loading: false,
colorScheme: 'light',
@@ -137,7 +136,6 @@ describe('WorkspaceSwitcher', () => {
vi.mocked(useWorkspace).mockReturnValue({
currentWorkspace: null,
workspaces: [],
settings: mockCurrentWorkspace,
updateSettings: vi.fn(),
loading: false,
colorScheme: 'light',