Add tests for useFileContent and useFileOperations hooks

This commit is contained in:
2025-05-26 21:53:52 +02:00
parent e9abe14364
commit 942ff17c4f
3 changed files with 925 additions and 2 deletions

View File

@@ -16,10 +16,10 @@ export const useGitOperations = (): UseGitOperationsResult => {
if (!currentWorkspace || !settings.gitEnabled) return false;
try {
await pullChanges(currentWorkspace.name);
const message = await pullChanges(currentWorkspace.name);
notifications.show({
title: 'Success',
message: 'Successfully pulled latest changes',
message: message || 'Successfully pulled latest changes',
color: 'green',
});
return true;