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

@@ -102,23 +102,6 @@ describe('WorkspaceSettings', () => {
gitCommitEmail: '',
},
workspaces: [],
settings: {
id: 1,
userId: 1,
name: 'Test Workspace',
createdAt: '2024-01-01T00:00:00Z',
theme: Theme.Light,
autoSave: false,
showHiddenFiles: false,
gitEnabled: false,
gitUrl: '',
gitUser: '',
gitToken: '',
gitAutoCommit: false,
gitCommitMsgTemplate: '',
gitCommitName: '',
gitCommitEmail: '',
},
updateSettings: mockUpdateSettings,
loading: false,
colorScheme: 'light',