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

realm / realm-js / 5142820799
85%

Build:
DEFAULT BRANCH: main
Ran 01 Jun 2023 09:59AM UTC
Jobs 1
Files 61
Run time 2s
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

01 Jun 2023 09:59AM UTC coverage: 85.825% (+0.1%) from 85.686%
5142820799

push

github

web-flow
Add Flexible Sync subscribe/unsubscribe APIs (#5772)

* Implement 'subscribe()' w/o 'timeout' option.

* Add initial 'subscribe()' tests.

* Implement 'unsubscribe()'.

* Add initial 'unsubscribe()' tests.

* Refactor 'TimeoutPromise' to optionally not reject on timeout.

* Update 'subscribe()' to handle 'timeout' option.

* Update tests.

* Update 'unsubscribe()' and let 'mutableSubs.remove()' handle the not-found case.

* Replace 'Results' instance field with call to Core.

* Add 'unnamedOnly' param to 'MutableSubscriptionSet.removeAll()'.

* Add test for removing unnamed subscriptions.

* Add CHANGELOG entry.

* Update formatting.

* Update TSDocs.

* Add test for 'subscribe()'.

* Update use of 'SubscriptionsState' to 'SubscriptionSetState'.

* Remove 'unnamedOnly' param and create 'removeUnnamed()' method.

* Treat a subscription with an empty name as named. (Same behavior as v11)

* Mark 'Results.unsubscribe()' as experimental.

* Remove boolean return type from 'Results.unsubscribe()'.

* Update minor formatting in CHANGELOG.

* Store subscription name on 'Results' to unsubscribe correctly.

* Add more tests to 'unsubscribe()'.

* Update minor formatting in test.

* Add comment regarding 'this.timeout()' in test.

* Mark 'subscribe()' as experimental.

* Add clarification to test.

* Change ordering of condition checks.

* Update CHANGELOG.md

Co-authored-by: Kræn Hansen <kraen.hansen@mongodb.com>

---------

Co-authored-by: Kræn Hansen <kraen.hansen@mongodb.com>

846 of 1049 branches covered (80.65%)

Branch coverage included in aggregate %.

2242 of 2549 relevant lines covered (87.96%)

757.85 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/122485393 5142820799.1 01 Jun 2023 09:59AM UTC 61
85.83
GitHub Action Run
Source Files on build 5142820799
  • Tree
  • List 61
  • Changed 28
  • Source Changed 6
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #5142820799
  • 3a00265c on github
  • Prev Build on main (#5133113870)
  • Next Build on main (#5220657925)
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