• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

decentraland / lamb2 / 38585724641
76%

Build:
DEFAULT BRANCH: main
Ran 14 Oct 2026 03:02PM UTC
Jobs 1
Files 83
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Oct 2026 03:01PM UTC coverage: 74.666% (+0.3%) from 74.399%
38585724641

push

github

web-flow
fix: return on-chain item amounts as numbers (#487)

* fix: return on-chain item amounts as numbers

The marketplace API serializes amount, minTransferredAt and
maxTransferredAt of grouped wearables and emotes as numeric strings,
and the adapter passed them through, so /explorer/:address/wearables
and /explorer/:address/emotes answered "amount": "1" although Item
types it as a number.

Convert the three fields with Number() when mapping grouped items.

* fix: return item transfer bounds as numbers on every path

The subgraph sends transferredAt as a string, so single-token items from
the fallback (and normalizeWearableFormat) kept min/maxTransferredAt as
strings while multi-token items were coerced by Math.min/max.

Convert through toFiniteNumber, which falls back when a value is missing
or not numeric: amount to the number of tokens, timestamps to 0, which
sorting already treats as no date. Previously these became NaN or 0.

Cover the unpaginated marketplace path, missing fields and the fallback.

* fix: keep the real oldest transfer date of partly undated items

An undated token (0) pulled a grouped item's minTransferredAt down to 0;
the earliest date now ignores undated tokens. Removes the unused
normalizeWearableFormat, and the new fixtures use second timestamps as
production does.

665 of 1041 branches covered (63.88%)

Branch coverage included in aggregate %.

11 of 11 new or added lines in 3 files covered. (100.0%)

2017 of 2551 relevant lines covered (79.07%)

81.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38585724641.1 14 Oct 2026 03:02PM UTC 83
74.67
GitHub Action Run
Source Files on build 38585724641
  • Tree
  • List 83
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #38585724641
  • f278dd64 on github
  • Prev Build on main (#38585450012)
  • Next Build on main (#39675338969)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc