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

eresearchqut / ddb-repository / 26991430142
98%

Build:
DEFAULT BRANCH: main
Ran 05 Jun 2026 02:22AM UTC
Jobs 1
Files 3
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

05 Jun 2026 02:20AM UTC coverage: 97.5%. Remained the same
26991430142

push

github

ryan-bennett
refactor: replace Object.assign({}) with {} in reduce initial values

Remove the unnecessary Object.assign({}) anti-pattern used as the initial
accumulator in Array.prototype.reduce() calls throughout DynamoDbRepository.ts.
Object.assign({}) with no additional arguments simply returns a new empty
object — identical to the literal {}. Using {} directly is cleaner and more
idiomatic TypeScript.

Also replaces Object.assign(removeAttributeNames) with {...removeAttributeNames}
in updateItem to make the intent explicit: the reduce starts with a shallow
copy of the removeAttributeNames object.

Affects 13 call sites across getItems, getItemsPage, updateItem, and
batchGetItems. No behavioural change.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

203 of 217 branches covered (93.55%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 1 file covered. (100.0%)

343 of 343 relevant lines covered (100.0%)

89.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26991430142.1 05 Jun 2026 02:22AM UTC 3
97.5
GitHub Action Run
Source Files on build 26991430142
  • Tree
  • List 3
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26991430142
  • fcb5efe2 on github
  • Prev Build on main (#26987653367)
  • Next Build on main (#26992344766)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc