Skip to content

Add tests for all() orderBy/pagination; update Fjell dependencies

Choose a tag to compare

released this 04 Dec 08:56
· 19 commits to working since this release

This release adds unit tests to verify orderBy serialization and pagination behavior in the all() operation, and updates Fjell package dependencies.

Testing Improvements

  • Add tests/ops/all.test.ts to verify all() orderBy handling and pagination (commit e29fc7f)
    • Verify orderBy serialization in request params for single field, multiple fields, and empty array
    • Assert coexistence with limit/offset via allOptions and with compoundCondition; validate params via queryToParams
    • Check response metadata passthrough and backward compatibility when orderBy is omitted, with an empty query, and with only limit
    • Include mocked HttpApi, ClientApiOptions, Utilities, and a minimal logger mock

Dependency Updates

  • Update @fjell/core to ^4.4.68 (from ^4.4.67) (commit 0aadb39)
  • Update @fjell/http-api to ^4.4.58 (from ^4.4.57) (commit 0aadb39)
  • Update @fjell/registry to ^4.4.74 (from ^4.4.73) (commit 0aadb39)