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

CenterForOpenScience / ember-osf-web / 11295496694

11 Oct 2024 03:57PM UTC coverage: 63.576% (-0.1%) from 63.697%
11295496694

Pull #2352

github

web-flow
Merge 060157a08 into 5a9af29d2
Pull Request #2352: [ENG-5879] Hide Categories Section on Registrations

2666 of 4558 branches covered (58.49%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

15 existing lines in 3 files now uncovered.

6461 of 9798 relevant lines covered (65.94%)

204.23 hits per line

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

0.0
/lib/osf-components/addon/components/node-category-picker/component.ts
1
import Component from '@ember/component';
2
import { computed } from '@ember/object';
3

4
import { layout } from 'ember-osf-web/decorators/component';
5
import { NodeCategory } from 'ember-osf-web/models/node';
6
import { CategoryManager } from 'osf-components/components/editable-field/category-manager/component';
7

8
import template from './template';
9

10
@layout(template)
11
export default class NodeCategoryPicker extends Component {
12
    manager!: CategoryManager;
13

14
    @computed('manager.selectedCategory')
15
    get categories() {
UNCOV
16
        return Object.values(NodeCategory)
×
UNCOV
17
            .filter(category => category !== this.manager.selectedCategory);
×
18
    }
19
}
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