summaryrefslogtreecommitdiffstats
path: root/vitest.config.ts
Commit message (Collapse)AuthorAgeFilesLines
* fix(files_trashbin): correctly sort custom columns in trashbin viewFerdinand Thiessen9 days1-1/+5
| | | | | | | | | | | 1. Refactor to make code better testable (move columns and view source to `files_views` folder) 2. Fix deletion time fallback (JS Date vs unix timestamp for "delted"-column) 3. Correctly sort `deletedBy` and `originalLocation` columns to use natural sort like any other column 4. Add unit tests for columns and views Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Add end-to-end tests for new public share Vue UIFerdinand Thiessen2024-09-061-0/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Move from Jest to vitestFerdinand Thiessen2024-08-261-0/+26
There are some benefits, like faster tests and thus saving CI time, but the main reason for me is: Jest still does not properly support ESM packages, this casues a lot of breaking stuff. Sometimes you need to adjust imports for mocking, and somethimes other random stuff break. Instead of wasting valuable developer lifetime we can use vitest which works perfectly with ESM. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>