Improve tests and add useGitOps hook test

This commit is contained in:
2025-05-27 21:33:02 +02:00
parent 942ff17c4f
commit 9cefe12872
6 changed files with 450 additions and 21 deletions

View File

@@ -40,6 +40,10 @@ export const lookupFileByName = async (
workspaceName: string,
filename: string
): Promise<string[]> => {
if (!filename || typeof filename !== 'string') {
throw new Error('Invalid filename provided for lookup');
}
const response = await apiCall(
`${API_BASE_URL}/workspaces/${encodeURIComponent(
workspaceName