Add unit tests for PDF Packager converter functionality

- Implement tests for converter properties, ensuring correct input and output formats.
- Add tests for chip parsing, covering various image, pdf_image, and pdfa chip formats.
- Include tests for the isArchiveOutput and getOutputFileName functions.
- Mock execFile for testing the convert function, verifying command execution and output file creation.
- Ensure all chips are parseable and validate the completeness of chip categories.
This commit is contained in:
Your Name 2026-01-24 14:39:22 +08:00
parent 87bd318303
commit 944fe18b75
11 changed files with 2233 additions and 8 deletions

View file

@ -1,6 +1,6 @@
{
"name": "ConvertX | Self Hosted File Converter",
"short_name": "ConvertX",
"name": "ConvertX-CN | Self Hosted File Converter",
"short_name": "ConvertX-CN",
"icons": [
{
"src": "/android-chrome-192x192.png",