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

RoundingWell / care-ops-frontend / 04733626-2f53-4aa6-a8fd-51f2ead18de6

12 Aug 2025 07:53PM UTC coverage: 96.189% (+1.1%) from 95.097%
04733626-2f53-4aa6-a8fd-51f2ead18de6

Pull #1491

circleci

paulfalgout
Add success callback for auth

In some cases we were created a race condition where the auth function was “resolving” during the auth0 sdk redirect, and so a request was made 401’d and logged out prior to auth0 successfully authing.

success prevents a `return;` from ending the auth await in the index.
Pull Request #1491: Add success callback for auth

1727 of 1810 branches covered (95.41%)

Branch coverage included in aggregate %.

5820 of 6036 relevant lines covered (96.42%)

216.48 hits per line

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

83.33
/src/js/views/programs/shared/flows_views.js
1
import Radio from 'backbone.radio';
2

3
import BehaviorComponent from './components/behavior_component';
4
import TeamComponent from 'js/views/shared/components/team';
5

6
const FlowBehaviorComponent = BehaviorComponent.extend({
160✔
7
  isConditionalAvailable: false,
8
  onPicklistSelect({ model }) {
9
    this.setState('selected', model);
×
10
    this.popRegion.empty();
×
11
  },
12
});
13

14
let teamsCollection;
15

16
function getTeams() {
17
  if (teamsCollection) return teamsCollection;
41✔
18
  teamsCollection = Radio.request('bootstrap', 'teams');
13✔
19
  return teamsCollection;
13✔
20
}
21

22
const OwnerComponent = TeamComponent.extend({
160✔
23
  canClear: true,
24
  initialize({ owner }) {
25
    this.collection = getTeams();
41✔
26

27
    this.setState({ selected: owner });
41✔
28
  },
29
  onChangeSelected(selected) {
30
    this.triggerMethod('change:owner', selected);
1✔
31
  },
32
});
33

34
export {
35
  FlowBehaviorComponent,
36
  OwnerComponent,
37
};
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