mirror of
https://github.com/penpot/penpot.git
synced 2026-03-31 00:29:37 +02:00
* ✨ Add tests for predicates and ordered data structures Adds tests for boolean-or-nil?, in-range?, ordered-set/map creation and ordering, oassoc/oassoc-in/oupdate-in/oassoc-before, and the ordered collection index helpers (adds/inserts/addm/insertm-at-index). * ✨ Add tests for lazy and sequence helpers Adds tests for concat-all, mapcat, zip, zip-all, enumerate, interleave-all, add-at-index, take-until, safe-subvec and domap. * ✨ Add tests for collection lookup and map manipulation Adds tests for group-by, seek, index-by, index-of-pred/of, replace-by-id, getf, vec-without-nils, without-nils, without-qualified, without-keys, deep-merge, dissoc-in, patch-object, without-obj, update-vals, update-in-when, update-when, assoc-in-when, assoc-when, merge, txt-merge, mapm, removev, filterm, removem, map-perm, distinct-xf and deep-mapm. * ✨ Add tests for parsing, numeric and utility helpers Adds tests for nan?, safe+, max, min, parse-integer, parse-double, parse-uuid, coalesce-str, coalesce, read-string, name, prefix-keyword, kebab-keys, regexp?, nilf, nilv, any-key?, tap, tap-r, map-diff, unique-name, toggle-selection, invert-map, obfuscate-string, unstable-sort, opacity-to-hex, format-precision, format-number and append-class. * ✨ Add tests for remaining untested helpers in data ns Cover percent?, parse-percent, num-string?, num?, not-empty?, editable-collection?, oreorder-before, oassoc-in-before, lazy-map and reorder. Platform-specific assertions use reader conditionals where CLJS and JVM behaviour differ (js/isFinite string coercion, js/isNaN empty-string coercion).