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

CenterForOpenScience / ember-osf-web / 12815315991

16 Jan 2025 06:31PM UTC coverage: 64.491% (-0.4%) from 64.934%
12815315991

Pull #2471

github

web-flow
Merge 5073c593b into 8621f29d7
Pull Request #2471: Feature/institutional access

2737 of 4664 branches covered (58.68%)

Branch coverage included in aggregate %.

6 of 84 new or added lines in 5 files covered. (7.14%)

5 existing lines in 1 file now uncovered.

6976 of 10397 relevant lines covered (67.1%)

200.39 hits per line

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

33.33
/app/adapters/node-request.ts
1
import { inject as service } from '@ember/service';
2
import config from 'ember-osf-web/config/environment';
3
const { OSF: { apiUrl } } = config;
1✔
4
import OsfAdapter from './osf-adapter';
5

6
export default class NodeRequestAdapter extends OsfAdapter {
7
    @service session;
8

9
    urlForCreateRecord(modelName, snapshot) {
NEW
10
        const nodeId = snapshot.record.target;
×
NEW
11
        return `${apiUrl}/v2/nodes/${nodeId}/requests/`;
×
12
    }
13
}
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