Files
Trilium/packages
claude[bot] fbbeee9e4d fix(migration): avoid mutating MIGRATIONS array in-place during sort
The prepareMigrations() function called MIGRATIONS.sort() which mutated
the module-level exported array. When the test setup ran migrations via
beforeAll(), the array was left in ascending order, causing the
migrations.spec.ts ordering test to fail.

Co-authored-by: Elian Doran <eliandoran@users.noreply.github.com>
2026-04-19 20:08:29 +00:00
..