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

CenterForOpenScience / ember-osf-web / 8007223254

22 Feb 2024 03:49PM UTC coverage: 68.252% (-0.8%) from 69.029%
8007223254

Pull #2143

github

web-flow
Merge 88eaee93e into f7db71a0c
Pull Request #2143: Feature/cedar integration

2638 of 4110 branches covered (64.18%)

Branch coverage included in aggregate %.

74 of 212 new or added lines in 30 files covered. (34.91%)

6142 of 8754 relevant lines covered (70.16%)

225.88 hits per line

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

66.67
/app/guid-node/route.ts
1
import { action } from '@ember/object';
2
import RouterService from '@ember/routing/router-service';
3
import { inject as service } from '@ember/service';
4
import GuidRoute from 'ember-osf-web/resolve-guid/guid-route';
5
import { notFoundURL } from 'ember-osf-web/utils/clean-url';
6

7
export default class GuidNode extends GuidRoute {
8
    @service router!: RouterService;
9
    modelName(): 'node' {
10
        return 'node';
37✔
11
    }
12

13
    @action
14
    error() {
NEW
15
        this.router.transitionTo('not-found', notFoundURL(window.location.pathname));
×
16
    }
17

18
    adapterOptions() {
19
        return {
37✔
20
            query: {
21
                related_counts: 'forks,registrations,draft_registrations',
22
                include: 'root',
23
            },
24
        };
25
    }
26
}
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