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

CenterForOpenScience / ember-osf-web / 8572628743

05 Apr 2024 04:09PM UTC coverage: 65.858% (-2.3%) from 68.147%
8572628743

Pull #2185

github

web-flow
Merge 8cf5772d8 into f8c2d0077
Pull Request #2185: [DRAFT] [ENG-5346] Added the public preregistration to the author assertions page

2642 of 4314 branches covered (61.24%)

Branch coverage included in aggregate %.

14 of 288 new or added lines in 23 files covered. (4.86%)

20 existing lines in 4 files now uncovered.

6156 of 9045 relevant lines covered (68.06%)

217.4 hits per line

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

0.0
/app/preprints/-components/submit/preprint-state-machine/action-flow/component.ts
1
import { action } from '@ember/object';
2
import Component from '@glimmer/component';
3
import PreprintStateMachine from 'ember-osf-web/preprints/-components/submit/preprint-state-machine/component';
4

5
/**
6
 * The Action Flow Args
7
 */
8
interface ActionFlowArgs {
9
    manager: PreprintStateMachine;
10
}
11

12
/**
13
 * The Action Flow Component
14
 */
15
export default class ActionFlow extends Component<ActionFlowArgs>{
NEW
16
    manager = this.args.manager;
×
17

18
    /**
19
     * Calls the state machine next method
20
     */
21
    @action
22
    public onNext(): void {
NEW
23
        this.manager.onNext();
×
24
    }
25

26
    /**
27
     * Calls the state machine delete method
28
     */
29
    @action
30
    public onDelete(): void {
NEW
31
        this.manager.onDelete();
×
32
    }
33
}
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