Files
Claude a230342f29 test(web): add unit tests for create-from-template action
The web "create from template" action extension
(useActionExtensionCreateFromTemplate) had no unit test coverage. This adds a
spec covering isVisible (selection count, missing personal space,
non-downloadable resource, no matching template mime type, positive case) and
handler (successful creation and editor navigation with context-route params,
duplicate-filename resolution, and the error path that surfaces showErrorMessage).

Moved from owncloud/web (now consolidated into owncloud/ocis).
Closes: owncloud/web#11786

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: dj4oC <noreply@github.com>
2026-07-09 19:12:24 +00:00
..