Jörg Krzeslak
ce540ca9fd
test: improve readability of sql in db test
2026-08-05 01:00:09 +02:00
Jörg Krzeslak
0e91478001
test: make sure to only update database version if needed
2026-08-05 00:57:54 +02:00
Jörg Krzeslak
bbe57486cf
test: fix test name and comment language
2026-08-04 23:35:41 +02:00
Jörg Krzeslak
86cf842605
test: wait for resolves to finish before assertion
2026-08-04 09:52:38 +02:00
Jörg Krzeslak
46705b6b34
test: ensure that module is loaded after environment variable is set
2026-08-04 09:32:54 +02:00
Jörg Krzeslak
310a0652ec
test: consolidate db test
2026-08-04 02:19:44 +02:00
Jörg Krzeslak
2fa4dcf84e
test: remove dead mock code line
2026-08-04 02:09:47 +02:00
Jörg Krzeslak
ecfa591eec
test: test that handleConvert does not throw
2026-08-04 02:02:20 +02:00
Jörg Krzeslak
152be90a5c
test: test the actual default export
2026-08-04 01:19:10 +02:00
Jörg Krzeslak
6fac7cb451
test: fix test name and comment
2026-08-04 01:08:11 +02:00
Jörg Krzeslak
81334c7db8
test: do not silently swallow every unexpected error
2026-08-04 01:00:53 +02:00
Jörg Krzeslak
823c83eea4
test: ensure that migrateDb database always gets cleaned up
2026-08-04 00:54:15 +02:00
Jörg Krzeslak
aa81ed11c6
test: ensure that test database connection is properly closed
2026-08-04 00:46:26 +02:00
Jörg Krzeslak
87924f3898
test: ensure that test does not touch production database
2026-08-03 23:58:37 +02:00
Jörg Krzeslak
b316452dc4
test: add unit test for printVersions
2026-08-03 23:13:48 +02:00
Jörg Krzeslak
165c48722a
test: revert renaming of commonTests.ts and add bunfig.toml to ignore it from test coverage
2026-08-03 23:13:48 +02:00
Jörg Krzeslak
ab92a06721
test: rename commonTests.ts to not be included in coverage report
2026-08-03 23:13:48 +02:00
Jörg Krzeslak
a2f0005bfc
test: remove dead fallback logic
2026-08-03 23:13:48 +02:00
Jörg Krzeslak
1d328f4b77
test: create isolated test db in temp directory and clean up afterward
2026-08-03 23:13:48 +02:00
Jörg Krzeslak
b32c28d87f
test: fall back to isolated test db instead of production db
2026-08-03 23:13:48 +02:00
Jörg Krzeslak
7d7415b722
test: make sure data directory exists when executing main.test.ts
2026-08-03 23:13:48 +02:00
Jörg Krzeslak
7b80678ff9
test: set DB_PATH in process.env for main.test.ts
2026-08-03 23:13:48 +02:00
Jörg Krzeslak
c2bebb1712
test: correctly create isolated test db in main.test.ts
2026-08-03 23:13:48 +02:00
Jörg Krzeslak
396dd9f629
test: correctly use isolated test db instead of production db in tests
2026-08-03 23:13:48 +02:00
Jörg Krzeslak
1d722545f7
test: improve test cleanup in libreoffice.test.ts
2026-08-03 23:13:48 +02:00
Jörg Krzeslak
210897595f
test: adapt main.test.ts to test against isolated db
2026-08-03 23:13:48 +02:00
Jörg Krzeslak
8c204a7a7a
test: translate comments to English
2026-08-03 23:13:48 +02:00
Jörg Krzeslak
82af881fe8
test: test isolated test db
2026-08-03 23:13:48 +02:00
Jörg Krzeslak
761cc8ab52
test: fix db test actually exercising db.ts code
2026-08-03 23:13:48 +02:00
Jörg Krzeslak
d00bfdcd53
test: add unit tests for main and db and improve coverage
2026-08-03 23:13:48 +02:00
Rayan Salhab
3602f12113
fix(dasel): update converter for v3 CLI ( #591 )
2026-08-03 21:37:21 +02:00
桌子潔
15e4046c19
fix(results): encode download filenames ( #587 )
2026-08-03 21:21:08 +02:00
casi3
7157d2398e
Apply EXIF orientation when converting images with ImageMagick ( #577 )
2026-08-03 21:20:35 +02:00
tr3lane
dc61643912
fix(libreoffice): don't force MS Word 97 infilter on .wps ( #585 )
...
* fix(libreoffice): don't force MS Word 97 infilter on .wps
.wps is Microsoft Works, not MS Word 97/.doc. Forcing that infilter
makes soffice reject a genuine Works document with "source file could
not be loaded", even though the same file converts fine when no
--infilter is passed at all (LibreOffice auto-detects it correctly).
Fixes #582
* test: lock in wps export direction; document why null covers both sides
Per review: the filter map feeds both --infilter and the --convert-to
suffix, so wps: null also affects exporting TO wps. That is deliberate
and behavior-preserving: LibreOffice has no Works export filter (its
MS_Works filter is import-only), and bare `--convert-to wps` falls back
to LibreOffice's default export filter for the extension - "MS Word 97",
the exact filter this map pinned before, so export output is unchanged.
Adds a regression test asserting the docx -> wps invocation.
---------
Co-authored-by: tr3lane <182920672+tr3lane@users.noreply.github.com>
2026-07-29 11:01:02 +02:00
Toni Ros
52af8d5824
PDF to DOCX using LibreOffice, fixes #425 ( #510 )
...
* Fix to issue #425
* Fix to Fix error in previous fix, and adapt tests
* Fix to Fix error in previous fix, and adapt tests plus prettier
* Update tests/converters/libreoffice.test.ts
Thanks
Co-authored-by: Emrik Östling <emrik.ostling@gmail.com>
* Update src/converters/libreoffice.ts
Thanks
Co-authored-by: Emrik Östling <emrik.ostling@gmail.com>
* Update src/converters/libreoffice.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
---------
Co-authored-by: Emrik Östling <emrik.ostling@gmail.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-01-29 17:20:12 +01:00
kunal763
c3f17cc5a7
feat: add VCF to CSV converter ( #497 )
2026-01-11 16:38:32 +01:00
Jörg Krzeslak
0521af0d52
test: fix code style issue
2025-12-14 02:57:00 +01:00
Jörg Krzeslak
826dc1062a
test: add awaits to rejects and resolves
2025-12-14 02:57:00 +01:00
Jörg Krzeslak
84d7da0195
test: add tests for dasel, pandoc and vtracer
2025-12-14 02:57:00 +01:00
Jörg Krzeslak
ad000f35ba
test: add libreoffice.test.ts
2025-12-14 02:57:00 +01:00
Emrik Östling
3e7e95b53c
feature: add download all file by file alongside the tar download ( #415 )
2025-10-07 21:27:31 +02:00
Jörg Krzeslak
d994c38219
test: fix imports after eslint config changes
2025-08-11 15:09:20 +02:00
Jörg Krzeslak
c0105889ab
test: extract duplicate code into another helper
2025-08-11 13:16:31 +02:00
Jörg Krzeslak
c6006b58d2
test: add test case to libjxl.test.ts when input and output are not jxl
2025-08-11 13:16:23 +02:00
Jörg Krzeslak
178f009458
test: extend fail test with different error messages
2025-08-11 13:16:17 +02:00
Jörg Krzeslak
9c24cf4aba
test: add test case to ffmpeg.test.ts
2025-08-11 13:16:11 +02:00
Jörg Krzeslak
af68498494
test: change order of parameters in ExecFileFn type
2025-08-11 13:16:05 +02:00
Jörg Krzeslak
eac22d53d3
test: prettify test for msgconvert.ts
2025-08-11 13:15:59 +02:00
Jörg Krzeslak
e5ac60c187
test: add unit test for msgconvert.ts
2025-08-11 13:15:52 +02:00
Jörg Krzeslak
4b42a5fbda
test: add test if stderror and stdout get logged if both are present
2025-08-11 13:15:46 +02:00