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

CSCfi / metadata-submitter-frontend / 13917461632

18 Mar 2025 07:13AM UTC coverage: 47.423% (-1.1%) from 48.473%
13917461632

push

github

Hang Le
Add Dac and Policies form (merge commit)

Merge branch 'feature/dac-policy-form' into 'main'
* Add Dac and Policies form

Closes #863
See merge request https://gitlab.ci.csc.fi/sds-dev/sd-submit/metadata-submitter-frontend/-/merge_requests/1073

Reviewed-by: Liisa Lado-Villar <145-lilado@users.noreply.gitlab.ci.csc.fi>
Approved-by: Liisa Lado-Villar <145-lilado@users.noreply.gitlab.ci.csc.fi>
Merged by Hang Le <lhang@csc.fi>

652 of 953 branches covered (68.42%)

Branch coverage included in aggregate %.

238 of 670 new or added lines in 21 files covered. (35.52%)

2 existing lines in 2 files now uncovered.

6166 of 13424 relevant lines covered (45.93%)

3.75 hits per line

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

80.0
/src/services/remsAPI.ts
1
import { create } from "apisauce"
1✔
2

3
import { errorMonitor } from "./errorMonitor"
1✔
4

5
import { APIResponse } from "types"
6

7
const api = create({ baseURL: "/v1/rems" })
1✔
8
api.addMonitor(errorMonitor)
1✔
9

10
const getRemsInfo = async (language?: string): Promise<APIResponse> => {
1✔
NEW
11
  return await api.get("", language ? { language } : {})
×
NEW
12
}
×
13

14
export default {
1✔
15
  getRemsInfo,
1✔
16
}
1✔
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