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

ProjectOpenSea / opensea-js / 13661846024
88%
master: 30%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 04 Mar 2025 07:57PM UTC
Jobs 1
Files 24
Run time 12min
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

04 Mar 2025 07:56PM UTC coverage: 50.967% (+2.1%) from 48.868%
13661846024

push

github

web-flow
feat: Add input validation for postOrder API options (#1610)

* feat: Add apiOptions validation in postOrder method

Added validation for apiOptions in postOrder method to prevent API calls that would definitely fail. The validation includes:
- Required fields checking
- Protocol value validation
- Side value validation
- Protocol address format validation

Resolves TODO comment in api.ts

* Create postOrder.validation.spec.ts

* Update postOrder.validation.spec.ts

111 of 352 branches covered (31.53%)

Branch coverage included in aggregate %.

49 of 55 new or added lines in 2 files covered. (89.09%)

1 existing line in 1 file now uncovered.

574 of 992 relevant lines covered (57.86%)

1.98 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
86.05
test/api/postOrder.validation.spec.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
58.24
6.39% src/api/api.ts
Jobs
ID Job ID Ran Files Coverage
1 13661846024.1 04 Mar 2025 07:57PM UTC 24
50.97
GitHub Action Run
Source Files on build 13661846024
  • Tree
  • List 24
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 3eb25d19 on github
  • Prev Build on main (#13632561958)
  • Next Build on main (#13661849381)
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

© 2025 Coveralls, Inc