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

RoundingWell / care-ops-frontend / 7aa5b7f8-1c6c-4217-9451-6c465b36e5e1

02 Jun 2026 03:06PM UTC coverage: 85.595% (-14.4%) from 100.0%
7aa5b7f8-1c6c-4217-9451-6c465b36e5e1

Pull #1707

circleci

paulfalgout
fix(ws): preserve filter-only reconnect subscriptions
Pull Request #1707: fix(ws): preserve filter-only reconnect subscriptions

1535 of 1893 branches covered (81.09%)

Branch coverage included in aggregate %.

0 of 3 new or added lines in 1 file covered. (0.0%)

794 existing lines in 88 files now uncovered.

5328 of 6125 relevant lines covered (86.99%)

167.15 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

58.33
/src/js/apps/programs/sidebar/program-sidebar_app.js
1
import Radio from 'backbone.radio';
2

3
import App from 'js/base/app';
4

5
import { SidebarView, TimestampsView, headingText } from 'js/views/programs/sidebar/program/programs-sidebar_views';
6

7
export default App.extend({
8
  onBeforeStart({ program }) {
9
    this.program = program;
2✔
10

11
    this.showHeading();
2✔
12

13
    const contentView = new SidebarView({
2✔
14
      program: this.program,
15
    });
16

17
    this.listenTo(contentView, {
2✔
18
      'save': this.onSave,
19
      'close': this.stop,
20
    });
21

22
    this.showChildView('content', contentView);
2✔
23
    this.showTimestamps();
2✔
24
  },
25
  onSave({ model }) {
26
    const isNew = this.program.isNew();
2✔
27
    this.program.save(model.pick('name', 'details'))
2✔
28
      .then(() => {
29
        if (isNew) Radio.request('sidebar', 'stop');
2!
30
      }, ({ responseData }) => {
UNCOV
31
        const errors = this.program.parseErrors(responseData);
×
UNCOV
32
        this.getChildView('content').showErrors(errors);
×
33
      });
34
  },
35
  onClose() {
UNCOV
36
    this.stop();
×
37
  },
38
  onStop() {
UNCOV
39
    if (this.program && this.program.isNew()) this.program.destroy();
×
40
  },
41
  showHeading() {
42
    this.showChildView('heading', headingText);
2✔
43
  },
44
  showTimestamps() {
45
    if (this.program.isNew()) return;
2!
46
    this.showChildView('footer', new TimestampsView({ model: this.program }));
2✔
47
  },
48
});
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