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

share / sharedb / 1440 / 2
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/checkout-6
DEFAULT BRANCH: master
Ran 20 Jul 2020 08:50AM UTC
Files 35
Run time 27s
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

20 Jul 2020 08:49AM UTC coverage: 97.358%. First build
1440.2

push

travis-ci

Alec Gibson
<a href="https://github.com/share/sharedb/commit/<a class=hub.com/share/sharedb/commit/bd1138ff97db44191a259c2d432e04f3d7bf8a23">bd1138ff9<a href="https://github.com/share/sharedb/commit/bd1138ff97db44191a259c2d432e04f3d7bf8a23">&quot;&gt;Ignore doc does not exist on presence destroy

When we destroy local presence, we attempt to update the presence to
`null` for remote clients as part of the cleanup.

However, if we delete a doc, and then destroy the associated presence,
the presence attempts to send a message on a deleted doc, which returns
an error.

Let&amp;#39;s just ignore this error. There&amp;#39;s no need to reset presence on a
deleted doc, because remote clients will [already assume it&amp;#39;s `null`][1].

[1]: https://github.com/share/sharedb/blob/</a><a class="double-link" href="https://github.com/share/sharedb/commit/<a class="double-link" href="https://github.com/share/sharedb/commit/a81e2c99af77da12885f0fa860e87cc2602a6cc1">a81e2c99a</a>">a81e2c99a</a><a href="https://github.com/share/sharedb/commit/bd1138ff97db44191a259c2d432e04f3d7bf8a23">/lib/client/presence/local-doc-presence.js#L90-L96

1427 of 1652 branches covered (86.38%)

3096 of 3180 relevant lines covered (97.36%)

181.58 hits per line

Source Files on job 1440.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1373
  • Travis Job 1440.2
  • bd1138ff on github
  • Next Job for on presence-destroy (#1443.1)
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