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

share / sharedb / 1440
97%
master: 97%

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

pending completion
1440

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%)

544.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1440.1 20 Jul 2020 08:50AM UTC 0
97.36
Travis Job 1440.1
2 1440.2 20 Jul 2020 08:50AM UTC 0
97.36
Travis Job 1440.2
3 1440.3 20 Jul 2020 08:50AM UTC 0
97.36
Travis Job 1440.3
Source Files on build 1440
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1440
  • bd1138ff on github
  • Next Build on presence-destroy (#1443)
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