apache / apache/texera

Add frontend unit tests for FileSaverService

Open
#6,448 1 comment 0 reactions 1 assignee Claimed by @Ma77Ball View on GitHub
Dominant language
Scala
Stars
314
Forks
187
Avg merge
1d 21h
Merged PRs (30d)
214

Description

### Task Summary
The frontend service at `frontend/src/app/dashboard/service/user/file/file-saver.service.ts` currently has no unit-test coverage. Add a spec covering its delegation to FileSaver.saveAs for Blob and string payloads and when optional arguments are omitted, exercising both success and error paths.
### Task Type
- [x] Testing / QA

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.